[llvm] 8992fce - [InstSimplify] Fix check lines (NFC)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 02:23:08 PST 2022


Author: Nikita Popov
Date: 2022-12-08T11:22:49+01:00
New Revision: 8992fce0e0f9e4eb1e0d8e4eb259eb4b27aba93f

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

LOG: [InstSimplify] Fix check lines (NFC)

Accidentally used the wrong binary in the previous commit.

Added: 
    

Modified: 
    llvm/test/Transforms/InstSimplify/insertvalue.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstSimplify/insertvalue.ll b/llvm/test/Transforms/InstSimplify/insertvalue.ll
index 47f25f88052c..ab235dbc5e39 100644
--- a/llvm/test/Transforms/InstSimplify/insertvalue.ll
+++ b/llvm/test/Transforms/InstSimplify/insertvalue.ll
@@ -20,8 +20,7 @@ define {i32, i32} @insert_into_poison({i32, i32} %x) {
 
 define {i32, i32} @insert_undef({i32, i32} %x) {
 ; CHECK-LABEL: @insert_undef(
-; CHECK-NEXT:    [[V:%.*]] = insertvalue { i32, i32 } [[X:%.*]], i32 undef, 0
-; CHECK-NEXT:    ret { i32, i32 } [[V]]
+; CHECK-NEXT:    ret { i32, i32 } [[X:%.*]]
 ;
   %v = insertvalue {i32, i32} %x, i32 undef, 0
   ret {i32, i32} %v
@@ -29,8 +28,7 @@ define {i32, i32} @insert_undef({i32, i32} %x) {
 
 define {i32, i32} @insert_undef_into_non_poison({i32, i32} noundef %x) {
 ; CHECK-LABEL: @insert_undef_into_non_poison(
-; CHECK-NEXT:    [[V:%.*]] = insertvalue { i32, i32 } [[X:%.*]], i32 undef, 0
-; CHECK-NEXT:    ret { i32, i32 } [[V]]
+; CHECK-NEXT:    ret { i32, i32 } [[X:%.*]]
 ;
   %v = insertvalue {i32, i32} %x, i32 undef, 0
   ret {i32, i32} %v


        


More information about the llvm-commits mailing list