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

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 01:45:25 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG73a7d451a2ca: [PowerPC, test] Fix use of undef FileCheck var (authored by thopre).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99880/new/

https://reviews.llvm.org/D99880

Files:
  llvm/test/CodeGen/PowerPC/ppc-disable-non-volatile-cr.ll


Index: llvm/test/CodeGen/PowerPC/ppc-disable-non-volatile-cr.ll
===================================================================
--- llvm/test/CodeGen/PowerPC/ppc-disable-non-volatile-cr.ll
+++ llvm/test/CodeGen/PowerPC/ppc-disable-non-volatile-cr.ll
@@ -8,8 +8,8 @@
 define dso_local signext i32 @DisableNonVolatileCR(i32 signext %a, i32 signext %b) {
 ; CHECK-DISABLE-LABEL: DisableNonVolatileCR:
 ; CHECK-DISABLE:       # %bb.0: # %entry
-; CHECK-DISABLE-NOT:    mfocrf [[REG1:r[0-9]+]]
-; CHECK-DISABLE-NOT:    stw [[REG1]]
+; CHECK-DISABLE-NOT:    mfocrf {{r[0-9]+}}
+; CHECK-DISABLE-NOT:    stw {{r[0-9]+}}
 ; CHECK-DISABLE:        stdu r1
 ; CHECK-DISABLE-DAG:    mfocrf [[REG2:r[0-9]+]]
 ; CHECK-DISABLE-DAG:    stw [[REG2]]
@@ -20,8 +20,8 @@
 ; CHECK-ENABLE-DAG:    mfocrf [[REG1:r[0-9]+]]
 ; CHECK-ENABLE-DAG:    stw [[REG1]]
 ; CHECK-ENABLE:        stdu r1
-; CHECK-ENABLE-NOT:    mfocrf [[REG2:r[0-9]+]]
-; CHECK-ENABLE-NOT:    stw [[REG2]]
+; CHECK-ENABLE-NOT:    mfocrf {{r[0-9]+}}
+; CHECK-ENABLE-NOT:    stw {{r[0-9]+}}
 ; CHECK-ENABLE:        # %bb.1: # %if.then
 
 entry:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99880.335754.patch
Type: text/x-patch
Size: 1093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/1d234ae8/attachment.bin>


More information about the llvm-commits mailing list