[all-commits] [llvm/llvm-project] 638d70: [test, AArch64] Fix use of var defined in CHECK-NOT
RoboTux via All-commits
all-commits at lists.llvm.org
Tue Apr 6 02:45:24 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 638d70be6b931c6ac5b7fefb9f3e866e4a89522c
https://github.com/llvm/llvm-project/commit/638d70be6b931c6ac5b7fefb9f3e866e4a89522c
Author: Thomas Preud'homme <thomasp at graphcore.ai>
Date: 2021-04-06 (Tue, 06 Apr 2021)
Changed paths:
M llvm/test/CodeGen/AArch64/aarch64-tbz.ll
Log Message:
-----------
[test, AArch64] Fix use of var defined in CHECK-NOT
LLVM test CodeGen/AArch64/aarch64-tbz.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 definition and uses of variable to check each
line independently, making the check stronger than the current one. It
also removes unnecessary regex match for labels.
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D99602
More information about the All-commits
mailing list