diff options
author | Thomas Preud'homme <thomasp@graphcore.ai> | 2021-03-28 00:03:37 +0000 |
---|---|---|
committer | Thomas Preud'homme <thomasp@graphcore.ai> | 2021-04-06 21:15:15 +0100 |
commit | 3ba246719b7cde7cb5f4603dd25c0c46df22ea36 (patch) | |
tree | 4a049a67c18686bb41e314994d6f5c1222439137 /llvm/lib/Analysis/AssumptionCache.cpp | |
parent | d0615a93bb6d7aedc43323dc8957fe57e86ed8ae (diff) | |
download | llvm-3ba246719b7cde7cb5f4603dd25c0c46df22ea36.zip llvm-3ba246719b7cde7cb5f4603dd25c0c46df22ea36.tar.gz llvm-3ba246719b7cde7cb5f4603dd25c0c46df22ea36.tar.bz2 |
[test, AArch64] Fix use of var defined in CHECK-NOT
LLVM test CodeGen/AArch64/speculation-hardening.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.
This commit removes the dependency between those CHECK-NOT by replacing
single occurence of the undefined variable by a regex match, and
multiple occurences by a definition followed by a use.
Reviewed By: aemerson
Differential Revision: https://reviews.llvm.org/D99866
Diffstat (limited to 'llvm/lib/Analysis/AssumptionCache.cpp')
0 files changed, 0 insertions, 0 deletions