Don't upgrade these.
authorReid Spencer <rspencer@reidspencer.com>
Mon, 19 Mar 2007 18:08:42 +0000 (18:08 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 19 Mar 2007 18:08:42 +0000 (18:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35166 91177308-0d34-0410-b5e6-96231b3b80d8

test/BugPoint/crash-basictest.ll
test/BugPoint/crash-narrowfunctiontest.ll
test/BugPoint/remove_arguments_test.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
 }
index 197e42f59d5642eccc8cb99db89effd1ef9af1eb..ef0db8d980b61967f99553df6fe0c348b23339f6 100644 (file)
@@ -1,14 +1,12 @@
 ; Test that bugpoint can narrow down the testcase to the important function
 ;
-; RUN: llvm-upgrade < %s > %t1.ll
-; RUN: bugpoint %t1.ll -bugpoint-crashcalls
+; RUN: bugpoint %s -bugpoint-crashcalls
 
-int %foo() { ret int 1 }
+define i32 @foo() { ret i32 1 }
 
-int %test() {
-       call int %test()
-       ret int %0
+define i32 @test() {
+       call i32 @test()
+       ret i32 %1
 }
 
-int %bar() { ret int 2 }
-
+define i32 @bar() { ret i32 2 }
index ed77da7cb830a7bbfe6cfb61a4539636775d0c40..4d2c60dc35c5551763a0f7eb65cd71b2dd11e422 100644 (file)
@@ -1,10 +1,11 @@
-; RUN: llvm-upgrade < %s > %t1.ll
-; RUN: bugpoint %t1.ll  -bugpoint-crashcalls
+; RUN: bugpoint %s  -bugpoint-crashcalls
 
-; 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
 }