summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/alloca.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/alloca.ll')
-rw-r--r--test/Transforms/InstCombine/alloca.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/alloca.ll b/test/Transforms/InstCombine/alloca.ll
index b61b75e9f9f34..2ee0372e5e0af 100644
--- a/test/Transforms/InstCombine/alloca.ll
+++ b/test/Transforms/InstCombine/alloca.ll
@@ -163,3 +163,14 @@ entry:
call void (...) @use(i1* %v32, i1* %v64, i1* %v33)
ret void
}
+
+define void @test11() {
+entry:
+; ALL-LABEL: @test11(
+; ALL: %y = alloca i32
+; ALL: call void (...) @use(i32* nonnull @int) [ "blah"(i32* %y) ]
+; ALL: ret void
+ %y = alloca i32
+ call void (...) @use(i32* nonnull @int) [ "blah"(i32* %y) ]
+ ret void
+}