The inliner strips dead allocas now. Add a use to allow this test to
authorChris Lattner <sabre@nondot.org>
Fri, 15 Sep 2006 16:53:11 +0000 (16:53 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 15 Sep 2006 16:53:11 +0000 (16:53 +0000)
test the right thing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30393 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/Inline/alloca_test.ll

index 46c4848b9556c64c5bbd835f9101dfe447b0ee8f..4b474908ee23b2d7f741fa7c48821e01709e0512 100644 (file)
@@ -5,6 +5,7 @@
 
 int %func(int %i) {
        %X = alloca int 
+       store int %i, int* %X
        ret int %i
 }