[llvm] 68c6d7e - [PowerPC] Fix fold-frame-offset-using-rr.mir typos in checks to fix issue reported on D77354

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 09:18:15 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-08T17:18:01+01:00
New Revision: 68c6d7e11c51a3ee9079b5cc84ba88a65adcd1c2

URL: https://github.com/llvm/llvm-project/commit/68c6d7e11c51a3ee9079b5cc84ba88a65adcd1c2
DIFF: https://github.com/llvm/llvm-project/commit/68c6d7e11c51a3ee9079b5cc84ba88a65adcd1c2.diff

LOG: [PowerPC] Fix fold-frame-offset-using-rr.mir typos in checks to fix issue reported on D77354

Extra spaces, copy+paste duplicates and missing test name check

Added: 
    

Modified: 
    llvm/test/CodeGen/PowerPC/fold-frame-offset-using-rr.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/PowerPC/fold-frame-offset-using-rr.mir b/llvm/test/CodeGen/PowerPC/fold-frame-offset-using-rr.mir
index 810612340a51..9c94615406ad 100644
--- a/llvm/test/CodeGen/PowerPC/fold-frame-offset-using-rr.mir
+++ b/llvm/test/CodeGen/PowerPC/fold-frame-offset-using-rr.mir
@@ -11,7 +11,7 @@
 
 ---
 name: testIndexForm1
-#CHECK : name : testIndexForm1
+#CHECK: name: testIndexForm1
 # ToBeDeletedReg equals to ScaleReg
 tracksRegLiveness: true
 body: |
@@ -27,7 +27,7 @@ body: |
 ...
 ---
 name: testIndexForm2
-#CHECK : name : testIndexForm2
+#CHECK: name: testIndexForm2
 # ToBeDeletedReg equals to ToBeChangedReg
 tracksRegLiveness: true
 body: |
@@ -43,7 +43,7 @@ body: |
 ...
 ---
 name: testIndexForm3
-#CHECK : name : testIndexForm3
+#CHECK: name: testIndexForm3
 # There is other use for ToBeDeletedReg between ADD instr and Imm instr
 tracksRegLiveness: true
 body: |
@@ -61,7 +61,7 @@ body: |
 ...
 ---
 name: testIndexForm4
-#CHECK : name : testIndexForm3
+#CHECK: name: testIndexForm4
 # There is other use for ToBeChangedReg between ADDI instr and ADD instr
 tracksRegLiveness: true
 body: |
@@ -79,7 +79,7 @@ body: |
 ...
 ---
 name: testIndexForm5
-#CHECK : name : testIndexForm5
+#CHECK: name: testIndexForm5
 # ToBeChangedReg has no killed flag
 tracksRegLiveness: true
 body: |
@@ -97,7 +97,7 @@ body: |
 ...
 ---
 name: testIndexForm6
-#CHECK : name : testIndexForm6
+#CHECK: name: testIndexForm6
 # ToBeDeletedReg has no killed flag
 tracksRegLiveness: true
 body: |
@@ -114,7 +114,7 @@ body: |
 ...
 ---
 name: testIndexForm7
-#CHECK : name : testIndexForm7
+#CHECK: name: testIndexForm7
 # There is other def for ToBeChangedReg between ADD instr and Imm instr
 tracksRegLiveness: true
 body: |
@@ -134,7 +134,7 @@ body: |
 ...
 ---
 name: testIndexForm8
-#CHECK : name : testIndexForm8
+#CHECK: name: testIndexForm8
 # There is other def for ScaleReg between ADD instr and Imm instr
 tracksRegLiveness: true
 body: |
@@ -154,6 +154,7 @@ body: |
 ...
 ---
 name: testR0
+#CHECK: name: testR0
 # Give up the folding if the register is R0/X0
 tracksRegLiveness: true
 body:             |


        


More information about the llvm-commits mailing list