[llvm-commits] CVS: llvm/test/BugPoint/crash-basictest.ll crash-narrowfunctiontest.ll remove_arguments_test.ll
Reid Spencer
reid at x10sys.com
Mon Mar 19 11:08:59 PDT 2007
Changes in directory llvm/test/BugPoint:
crash-basictest.ll updated: 1.2 -> 1.3
crash-narrowfunctiontest.ll updated: 1.2 -> 1.3
remove_arguments_test.ll updated: 1.2 -> 1.3
---
Log message:
Don't upgrade these.
---
Diffs of the changes: (+18 -20)
crash-basictest.ll | 9 ++++-----
crash-narrowfunctiontest.ll | 14 ++++++--------
remove_arguments_test.ll | 15 ++++++++-------
3 files changed, 18 insertions(+), 20 deletions(-)
Index: llvm/test/BugPoint/crash-basictest.ll
diff -u llvm/test/BugPoint/crash-basictest.ll:1.2 llvm/test/BugPoint/crash-basictest.ll:1.3
--- llvm/test/BugPoint/crash-basictest.ll:1.2 Fri Dec 29 14:01:32 2006
+++ llvm/test/BugPoint/crash-basictest.ll Mon Mar 19 13:08:42 2007
@@ -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: llvm/test/BugPoint/crash-narrowfunctiontest.ll
diff -u llvm/test/BugPoint/crash-narrowfunctiontest.ll:1.2 llvm/test/BugPoint/crash-narrowfunctiontest.ll:1.3
--- llvm/test/BugPoint/crash-narrowfunctiontest.ll:1.2 Fri Dec 29 14:01:32 2006
+++ llvm/test/BugPoint/crash-narrowfunctiontest.ll Mon Mar 19 13:08:42 2007
@@ -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: llvm/test/BugPoint/remove_arguments_test.ll
diff -u llvm/test/BugPoint/remove_arguments_test.ll:1.2 llvm/test/BugPoint/remove_arguments_test.ll:1.3
--- llvm/test/BugPoint/remove_arguments_test.ll:1.2 Fri Dec 29 14:01:32 2006
+++ llvm/test/BugPoint/remove_arguments_test.ll Mon Mar 19 13:08:42 2007
@@ -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
}
More information about the llvm-commits
mailing list