Make APInt variables do the computation stuffs instead of
[oota-llvm.git] / test / BugPoint / crash-basictest.ll
index 77eb6ecdc5f01eec90801c720516dccfc1fee14b..647a53f46e32dece2e34f7d8291fef8f9d6b29fd 100644 (file)
@@ -1,9 +1,8 @@
 ; Basic test for bugpoint.
-; RUN: llvm-upgrade < %s > %t1.ll
-; RUN: bugpoint %t1.ll -domset -idom -domset -bugpoint-crashcalls \
+; RUN: bugpoint %s -domset -idom -domset -bugpoint-crashcalls \
 ; RUN:   -domset -idom -domset
 
-int %test() {
-       call int %test()
-       ret int %0
+define i32 @test() {
+       call i32 @test()
+       ret i32 %1
 }