1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00
llvm-mirror/test
Mircea Trofin 03a62f3073 [utils] Fix UpdateTestChecks case where 2 runs differ for last label
Two RUN lines produce outputs that, each, have some common parts and
some different parts. The common parts are checked under label A. The
differing parts are associated to a function and checked under labels B
and C, respectivelly.
When build_function_body_dictionary is called for the first RUN line, it
will attribute the function body to labels A and C. When the second RUN
is passed to build_function_body_dictionary, it sees that the function
body under A is different from what it has. If in this second RUN line,
A were at the end of the prefixes list, A's body is still kept
associated with the first run's function.

When we output the function body (i.e. add_checks), we stop after
emitting for the first prefix matching that function. So we end up with
the wrong function body (first RUN's A-association).

There is no reason to special-case the last label in the prefixes list,
and the fix is to always clear a label association if we find a RUN line
where the body is different.

Differential Revision: https://reviews.llvm.org/D93078
2020-12-15 07:16:54 -08:00
..
Analysis [BasicAA] Handle known non-zero variable index 2020-12-13 13:20:05 +01:00
Assembler OpaquePtr: Require byval on x86_intrcc parameter 0 2020-12-14 16:34:37 -05:00
Bindings
Bitcode [clang][IR] Add support for leaf attribute 2020-12-14 14:48:17 -08:00
BugPoint
CodeGen [VE] Support FRAMEADDR 2020-12-15 23:31:19 +09:00
DebugInfo Reland "[MachineDebugify] Insert synthetic DBG_VALUE instructions" 2020-12-14 22:34:23 -05:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [dfsan] Track field/index-level shadow values in variables 2020-12-09 19:38:35 +00:00
Integer
JitListener
Linker Simplify append to module inline asm string in IRLinker::run() 2020-12-02 14:56:43 +01:00
LTO [ICP] Don't promote when target not defined in module 2020-12-08 07:45:36 -08:00
MachineVerifier
MC [AMDGPU] Unify flat offset logic 2020-12-15 14:59:59 +01:00
Object [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
ObjectYAML
Other [AnnotationRemarks] Also generate annotation remarks when using -O0. 2020-12-15 14:46:52 +00:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen Revert "[openmp] Remove clause from OMPKinds.def and use OMP.td info" 2020-12-10 10:34:59 -05:00
ThinLTO/X86 [NFCI] Add missing triple to several LTO tests 2020-12-09 13:13:58 -08:00
tools [utils] Fix UpdateTestChecks case where 2 runs differ for last label 2020-12-15 07:16:54 -08:00
Transforms [InstCombine] Remove scalable vector restriction in foldVectorBinop 2020-12-15 21:14:59 +08:00
Unit
Verifier OpaquePtr: Require byval on x86_intrcc parameter 0 2020-12-14 16:34:37 -05:00
YAMLParser
.clang-format
CMakeLists.txt [CMake] Add llvm-profgen to LLVM_TEST_DEPENDS 2020-12-09 09:34:51 -08:00
lit.cfg.py [FileCheck] Enforce --allow-unused-prefixes=false for llvm/test/Transforms 2020-12-09 08:51:38 -08:00
lit.site.cfg.py.in
TestRunner.sh