[llvm] bb69173 - [PowerPC, test] Fix use of undef FileCheck var
Thomas Preud'homme via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 9 04:54:35 PDT 2021
Author: Thomas Preud'homme
Date: 2021-04-09T12:54:35+01:00
New Revision: bb69173ae5d125b5d5238d0b34d8cdc02db4ba69
URL: https://github.com/llvm/llvm-project/commit/bb69173ae5d125b5d5238d0b34d8cdc02db4ba69
DIFF: https://github.com/llvm/llvm-project/commit/bb69173ae5d125b5d5238d0b34d8cdc02db4ba69.diff
LOG: [PowerPC, test] Fix use of undef FileCheck var
Commit 6ad3d05b681b36f6ecc98523257d154053e4116d disables the definition
of CSR that a follow-up CHECK-NOT directive depends on. This commit
replaces the undefined CSR variable use by the regex used to define it.
Reviewed By: nemanjai
Differential Revision: https://reviews.llvm.org/D99870
Added:
Modified:
llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll b/llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
index fccc2f684dba..0c6311365e3a 100644
--- a/llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
+++ b/llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
@@ -679,7 +679,7 @@ end:
; CHECKXX: ld [[CSR]], -[[STACK_OFFSET]](1) # 8-byte Folded Reload
;
; Ensure no subsequent uses of callee-save register before end of function
-; CHECK-NOT: {{[a-z]+}} [[CSR]]
+; CHECKXX-NOT: {{[a-z]+}} [[CSR]]
; CHECK: blr
define signext i32 @transpose() {
entry:
More information about the llvm-commits
mailing list