llvm-project/llvm/test/Transforms/CodeGenPrepare
Thomas Preud'homme a6950c33e8 [test, ARM] Fix use of var defined in CHECK-NOT
tries to check for the
    absence of a sequence of instructions with several CHECK-NOT with
one of
    those directives using a variable defined in another.

LLVM test CodeGenPrepare/ARM/sink-add-mul-shufflevector.ll tries to
check for the absence of a sequence of instructions with several
CHECK-NOT with one of those directives using a variable defined in
another. However, CHECK-NOT are checked independently so that is using
a variable defined in a pattern that should not occur in the input. The
bug was then copied over in
Transforms/CodeGenPrepare/ARM/sink-add-mul-shufflevector-inseltpoison.ll

This commit removes the definition and uses of variable to check each
line independently, making the check stronger than the current one.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D99597
2021-03-30 16:28:13 +01:00
..
AArch64 Precommit tests that have poison as shufflevector's placeholder 2020-12-29 17:09:31 +09:00
AMDGPU Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
ARM [test, ARM] Fix use of var defined in CHECK-NOT 2021-03-30 16:28:13 +01:00
Mips
NVPTX
PowerPC [CodeGenPrepare] Remove unused check-prefixes 2020-11-09 13:12:39 +00:00
SPARC
X86 [test] Fix new CodeGenPrepare test for non-X86 systems 2021-03-05 11:48:38 +01:00
dom-tree.ll
sink-shift-and-trunc.ll
skip-merging-case-block.ll