[PATCH] D99870: [PowerPC, test] Fix use of undef FileCheck var

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 4 16:12:11 PDT 2021


thopre created this revision.
thopre added reviewers: MatzeB, sidbav, ZhangKang, stefanp.
Herald added subscribers: shchenz, kbarton, nemanjai.
thopre requested review of this revision.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99870

Files:
  llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll


Index: llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
===================================================================
--- llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
+++ llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
@@ -679,7 +679,7 @@
 ; 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]]
+; CHECK-NOT: {{[a-z]+}} {{[0-9]+}}
 ; CHECK: blr
 define signext i32 @transpose() {
 entry:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99870.335188.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210404/b9daaab5/attachment.bin>


More information about the llvm-commits mailing list