aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-15 16:53:11 +0000
committerChris Lattner <sabre@nondot.org>2006-09-15 16:53:11 +0000
commit36cc500f3b30db50e7c660fdd819f367ad437eb0 (patch)
treea12e4c2d27dd7a9f13f8974188d70342a16f92ab
parent46f022a7f105211d5ea2c394e406d1943b80908c (diff)
The inliner strips dead allocas now. Add a use to allow this test to
test the right thing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30393 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/Inline/alloca_test.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Transforms/Inline/alloca_test.ll b/test/Transforms/Inline/alloca_test.ll
index 46c4848b95..4b474908ee 100644
--- a/test/Transforms/Inline/alloca_test.ll
+++ b/test/Transforms/Inline/alloca_test.ll
@@ -5,6 +5,7 @@
int %func(int %i) {
%X = alloca int
+ store int %i, int* %X
ret int %i
}