diff --git a/llvm/test/Regression/Transforms/ArgumentPromotion/recursion.ll b/llvm/test/Regression/Transforms/ArgumentPromotion/recursion.ll index a005b9ce04bc..c7b055af8e2d 100644 --- a/llvm/test/Regression/Transforms/ArgumentPromotion/recursion.ll +++ b/llvm/test/Regression/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 }