Skip to content

Commit bb69173

Browse files
author
Thomas Preud'homme
committed
[PowerPC, test] Fix use of undef FileCheck var
Commit 6ad3d05 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
1 parent 3b4936b commit bb69173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ end:
679679
; CHECKXX: ld [[CSR]], -[[STACK_OFFSET]](1) # 8-byte Folded Reload
680680
;
681681
; Ensure no subsequent uses of callee-save register before end of function
682-
; CHECK-NOT: {{[a-z]+}} [[CSR]]
682+
; CHECKXX-NOT: {{[a-z]+}} [[CSR]]
683683
; CHECK: blr
684684
define signext i32 @transpose() {
685685
entry:

0 commit comments

Comments
 (0)