[llvm] b34f4d8 - [InstCombine] Fix malformed CHECK32/64 test checks.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 8 05:35:34 PST 2020


Author: Simon Pilgrim
Date: 2020-11-08T13:34:07Z
New Revision: b34f4d8a7118301b3d9c4b1699064cf6eff80940

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

LOG: [InstCombine] Fix malformed CHECK32/64 test checks.

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/narrow-switch.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/narrow-switch.ll b/llvm/test/Transforms/InstCombine/narrow-switch.ll
index a8fa3e528db2..a1bb442f1b8f 100644
--- a/llvm/test/Transforms/InstCombine/narrow-switch.ll
+++ b/llvm/test/Transforms/InstCombine/narrow-switch.ll
@@ -104,14 +104,14 @@ return:
 
 define void @trunc64to59(i64 %a) {
 ; ALL-LABEL: @trunc64to59(
-; ALL-CHECK32:         switch i59
-; ALL-CHECK32-NEXT:    i59 0, label %sw.bb1
-; ALL-CHECK32-NEXT:    i59 18717182647723699, label %sw.bb2
-; ALL-CHECK32-NEXT:    ]
-; ALL-CHECK64:         switch i64
-; ALL-CHECK64-NEXT:    i64 0, label %sw.bb1
-; ALL-CHECK64-NEXT:    i64 18717182647723699, label %sw.bb2
-; ALL-CHECK64-NEXT:    ]
+; CHECK32:         switch i59
+; CHECK32-NEXT:    i59 0, label %sw.bb1
+; CHECK32-NEXT:    i59 18717182647723699, label %sw.bb2
+; CHECK32-NEXT:    ]
+; CHECK64:         switch i64
+; CHECK64-NEXT:    i64 0, label %sw.bb1
+; CHECK64-NEXT:    i64 18717182647723699, label %sw.bb2
+; CHECK64-NEXT:    ]
 ;
 entry:
   %tmp0 = and i64 %a, 15


        


More information about the llvm-commits mailing list