From: Thomas Preud'homme Date: Sun, 4 Apr 2021 23:07:35 +0000 (+0100) Subject: [PowerPC, test] Fix use of undef FileCheck var X-Git-Tag: llvmorg-14-init~10039 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb69173ae5d125b5d5238d0b34d8cdc02db4ba69;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll b/llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll index fccc2f6..0c63113 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: