summaryrefslogtreecommitdiff
path: root/test/Transforms/InstSimplify/insertelement.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstSimplify/insertelement.ll')
-rw-r--r--test/Transforms/InstSimplify/insertelement.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstSimplify/insertelement.ll b/test/Transforms/InstSimplify/insertelement.ll
index 3acd921cbad..3524f2145ac 100644
--- a/test/Transforms/InstSimplify/insertelement.ll
+++ b/test/Transforms/InstSimplify/insertelement.ll
@@ -23,3 +23,9 @@ define <4 x i32> @test4(<4 x i32> %A) {
; CHECK: ret <4 x i32> undef
ret <4 x i32> %I
}
+
+define <4 x i32> @test5(<4 x i32> %A) {
+ %I = insertelement <4 x i32> %A, i32 5, i64 undef
+ ; CHECK: ret <4 x i32> undef
+ ret <4 x i32> %I
+}