aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2006-09-02 22:46:58 +0000
committerOwen Anderson <resistor@mac.com>2006-09-02 22:46:58 +0000
commit8dfd0f088e53b55b1c3c857f99c2aec73cf23cee (patch)
tree9d4ce3833871d802c1f9a12125ba9fddbf2ac5a0
parent0f592b388f6ea6bf9cd925de791d933f7a27b248 (diff)
downloadexternal_llvm-8dfd0f088e53b55b1c3c857f99c2aec73cf23cee.zip
external_llvm-8dfd0f088e53b55b1c3c857f99c2aec73cf23cee.tar.gz
external_llvm-8dfd0f088e53b55b1c3c857f99c2aec73cf23cee.tar.bz2
Make this testcase actually recursive. I accidentally committed the wrong copy last time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30059 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/ArgumentPromotion/recursion.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/ArgumentPromotion/recursion.ll b/test/Transforms/ArgumentPromotion/recursion.ll
index a005b9c..c7b055a 100644
--- a/test/Transforms/ArgumentPromotion/recursion.ll
+++ b/test/Transforms/ArgumentPromotion/recursion.ll
@@ -5,7 +5,8 @@ implementation ; Functions:
internal int %foo(int* %x) {
entry:
- %tmp.foo = load int* %x
+ %tmp = load int* %x
+ %tmp.foo = call int %foo(int *%x)
ret int %tmp.foo
}