[llvm] 55314d3 - [MachineOutliner][NFC] Fix FileCheck regex in two of test-cases

David Tellenbach via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 07:21:23 PDT 2019


Author: David Tellenbach
Date: 2019-10-31T14:19:15Z
New Revision: 55314d323738e4a8c1890b6a6e5064e7f4e0da1c

URL: https://github.com/llvm/llvm-project/commit/55314d323738e4a8c1890b6a6e5064e7f4e0da1c
DIFF: https://github.com/llvm/llvm-project/commit/55314d323738e4a8c1890b6a6e5064e7f4e0da1c.diff

LOG: [MachineOutliner][NFC] Fix FileCheck regex in two of test-cases

Added: 
    

Modified: 
    llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
    llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll b/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
index c2bb291506ae..750262bff840 100644
--- a/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
+++ b/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
@@ -3,7 +3,7 @@
 
 ; Check that functions that should sign their return addresses don't get
 ; outlined if not all of the function either support v8.3a features or all of
-; the functions don't!!
+; the functions don't
 
 define void @a() #0 {
 ; CHECK-LABEL:      a:                                     // @a
@@ -25,7 +25,7 @@ define void @a() #0 {
   store i32 5, i32* %5, align 4
   store i32 6, i32* %6, align 4
 ; CHECK:                  retab
-; CHECK-NOT:              auti[a,b]sp
+; CHECK-NOT:              auti{{[a,b]}}sp
   ret void
 }
 
@@ -49,7 +49,7 @@ define void @b() #0 {
   store i32 5, i32* %5, align 4
   store i32 6, i32* %6, align 4
 ; CHECK:                  retab
-; CHECK-NOT:              auti[a,b]sp
+; CHECK-NOT:              auti{{[a,b]}}sp
   ret void
 }
 

diff  --git a/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll b/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
index 496153501fb1..8640fa3aa9c1 100644
--- a/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
+++ b/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
@@ -24,7 +24,7 @@ define void @a() #0 {
   store i32 5, i32* %5, align 4
   store i32 6, i32* %6, align 4
 ; CHECK:                  retab
-; CHECK-NOT:              auti[a,b]sp
+; CHECK-NOT:              auti{{[a,b]}}sp
   ret void
 }
 
@@ -48,7 +48,7 @@ define void @b() #0 {
   store i32 5, i32* %5, align 4
   store i32 6, i32* %6, align 4
 ; CHECK:                  retab
-; CHECK-NOT:              auti[a,b]sp
+; CHECK-NOT:              auti{{[a,b]}}sp
   ret void
 }
 
@@ -72,7 +72,7 @@ define void @c() #0 {
   store i32 5, i32* %5, align 4
   store i32 6, i32* %6, align 4
 ; CHECK:                  retab
-; CHECK-NOT:              auti[a,b]sp
+; CHECK-NOT:              auti{{[a,b]}}sp
   ret void
 }
 
@@ -86,4 +86,4 @@ attributes #0 = { "sign-return-address"="all"
 ; CHECK-NEXT:               pacibsp
 ; CHECK-NEXT:               .cfi_negate_ra_state
 ; CHECK:                    retab
-; CHECK-NOT:                auti[a,b]sp
+; CHECK-NOT:                auti{{[a,b]}}sp


        


More information about the llvm-commits mailing list