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-07 09:42:58 +0100 |
commit | b62c62c51973f82713477ecba28d0a4bd7c6ee6a (patch) | |
tree | e94840ef1e5129b0da2cab81409338d23240fc6b /clang/lib/Basic/SourceManager.cpp | |
parent | 0aa0458f1429372038ca6a4edc7e94c96cd9a753 (diff) | |
download | llvm-b62c62c51973f82713477ecba28d0a4bd7c6ee6a.zip llvm-b62c62c51973f82713477ecba28d0a4bd7c6ee6a.tar.gz llvm-b62c62c51973f82713477ecba28d0a4bd7c6ee6a.tar.bz2 |
[Coroutines, test] Fix use of var defined in CHECK-NOT
LLVM test Transforms/Coroutine/coro-split-sink-lifetime-O2.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 simplifies the CHECK-NOT block to only check for the
presence of any lifetime start marker since that is effectively what
the test was testing at the moment.
Reviewed By: junparser
Differential Revision: https://reviews.llvm.org/D99856
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions