Remove "tail" keywords. These calls are not intended to be tail calls.
[oota-llvm.git] / test / BugPoint / remove_arguments_test.ll
index 5a0bd6f00936e004eb26c3d88854afcf808a3ccf..fb17c78a140bca215ceba72ab4b64f640e991d72 100644 (file)
@@ -1,9 +1,11 @@
-; RUN: bugpoint %s  -bugpoint-crashcalls
+; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes
 
-; Test to make sure that arguments are removed from the function if they are unnecessary.
+; Test to make sure that arguments are removed from the function if they are 
+; unnecessary.
 
-declare int %test2()
-int %test(int %A, int %B, float %C) {
-       call int %test2()
-       ret int %0
+declare i32 @test2()
+
+define i32 @test(i32 %A, i32 %B, float %C) {
+       call i32 @test2()
+       ret i32 %1
 }