[PowerPC, test] Fix use of undef FileCheck var
authorThomas Preud'homme <thomasp@graphcore.ai>
Sun, 4 Apr 2021 23:07:35 +0000 (00:07 +0100)
committerThomas Preud'homme <thomasp@graphcore.ai>
Fri, 9 Apr 2021 11:54:35 +0000 (12:54 +0100)
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

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

index fccc2f6..0c63113 100644 (file)
@@ -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: