aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2021-03-28 00:03:37 +0000
committerThomas Preud'homme <thomasp@graphcore.ai>2021-03-30 16:28:13 +0100
commita6950c33e8604552eb2d933138a576758633343e (patch)
tree28f29b5a8490ac1d3d994d1865c78fd94e837cad /clang/lib/Frontend/CompilerInvocation.cpp
parent1363fb8ca6ce432ad6d057aaa0e144616917999a (diff)
downloadllvm-a6950c33e8604552eb2d933138a576758633343e.zip
llvm-a6950c33e8604552eb2d933138a576758633343e.tar.gz
llvm-a6950c33e8604552eb2d933138a576758633343e.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions