From 8dfd0f088e53b55b1c3c857f99c2aec73cf23cee Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Sat, 2 Sep 2006 22:46:58 +0000 Subject: [PATCH] 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 --- test/Transforms/ArgumentPromotion/recursion.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Transforms/ArgumentPromotion/recursion.ll b/test/Transforms/ArgumentPromotion/recursion.ll index a005b9ce04b..c7b055af8e2 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 }