Make this testcase actually recursive. I accidentally committed the wrong copy last...
authorOwen Anderson <resistor@mac.com>
Sat, 2 Sep 2006 22:46:58 +0000 (22:46 +0000)
committerOwen Anderson <resistor@mac.com>
Sat, 2 Sep 2006 22:46:58 +0000 (22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30059 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/ArgumentPromotion/recursion.ll

index a005b9ce04bc47471b49750ad917caa22ba0ac0e..c7b055af8e2d0171765c89380973e422c5436745 100644 (file)
@@ -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
 }