[llvm-commits] CVS: llvm/test/Regression/BugPoint/crash-basictest.ll crash-narrowfunctiontest.ll misopt-basictest.ll remove_arguments_test.ll

Reid Spencer reid at x10sys.com
Fri Dec 29 12:02:26 PST 2006



Changes in directory llvm/test/Regression/BugPoint:

crash-basictest.ll updated: 1.1 -> 1.2
crash-narrowfunctiontest.ll updated: 1.1 -> 1.2
misopt-basictest.ll updated: 1.3 -> 1.4
remove_arguments_test.ll updated: 1.1 -> 1.2
---
Log message:

Update tests that need to be run through llvm-upgrade. This is necessary
for upcoming changes to the llvm assembly grammar.


---
Diffs of the changes:  (+9 -6)

 crash-basictest.ll          |    4 +++-
 crash-narrowfunctiontest.ll |    3 ++-
 misopt-basictest.ll         |    5 ++---
 remove_arguments_test.ll    |    3 ++-
 4 files changed, 9 insertions(+), 6 deletions(-)


Index: llvm/test/Regression/BugPoint/crash-basictest.ll
diff -u llvm/test/Regression/BugPoint/crash-basictest.ll:1.1 llvm/test/Regression/BugPoint/crash-basictest.ll:1.2
--- llvm/test/Regression/BugPoint/crash-basictest.ll:1.1	Wed Nov 20 16:30:02 2002
+++ llvm/test/Regression/BugPoint/crash-basictest.ll	Fri Dec 29 14:01:32 2006
@@ -1,5 +1,7 @@
 ; Basic test for bugpoint.
-; RUN: bugpoint %s -domset -idom -domset -bugpoint-crashcalls -domset -idom -domset
+; RUN: llvm-upgrade < %s > %t1.ll
+; RUN: bugpoint %t1.ll -domset -idom -domset -bugpoint-crashcalls \
+; RUN:   -domset -idom -domset
 
 int %test() {
 	call int %test()


Index: llvm/test/Regression/BugPoint/crash-narrowfunctiontest.ll
diff -u llvm/test/Regression/BugPoint/crash-narrowfunctiontest.ll:1.1 llvm/test/Regression/BugPoint/crash-narrowfunctiontest.ll:1.2
--- llvm/test/Regression/BugPoint/crash-narrowfunctiontest.ll:1.1	Wed Nov 20 16:30:02 2002
+++ llvm/test/Regression/BugPoint/crash-narrowfunctiontest.ll	Fri Dec 29 14:01:32 2006
@@ -1,6 +1,7 @@
 ; Test that bugpoint can narrow down the testcase to the important function
 ;
-; RUN: bugpoint %s -bugpoint-crashcalls
+; RUN: llvm-upgrade < %s > %t1.ll
+; RUN: bugpoint %t1.ll -bugpoint-crashcalls
 
 int %foo() { ret int 1 }
 


Index: llvm/test/Regression/BugPoint/misopt-basictest.ll
diff -u llvm/test/Regression/BugPoint/misopt-basictest.ll:1.3 llvm/test/Regression/BugPoint/misopt-basictest.ll:1.4
--- llvm/test/Regression/BugPoint/misopt-basictest.ll:1.3	Mon Oct 27 11:46:42 2003
+++ llvm/test/Regression/BugPoint/misopt-basictest.ll	Fri Dec 29 14:01:32 2006
@@ -1,6 +1,5 @@
-; RUN: PATH=/usr/bin:/bin/:${PATH}
-; RUN: export PATH
-; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg
+; RUN: llvm-upgrade < %s > %t1.ll
+; RUN: bugpoint %t1.ll -dce -bugpoint-deletecalls -simplifycfg
 
 %.LC0 = internal global [13 x sbyte] c"Hello World\0A\00"
 


Index: llvm/test/Regression/BugPoint/remove_arguments_test.ll
diff -u llvm/test/Regression/BugPoint/remove_arguments_test.ll:1.1 llvm/test/Regression/BugPoint/remove_arguments_test.ll:1.2
--- llvm/test/Regression/BugPoint/remove_arguments_test.ll:1.1	Tue Jun 24 18:40:27 2003
+++ llvm/test/Regression/BugPoint/remove_arguments_test.ll	Fri Dec 29 14:01:32 2006
@@ -1,4 +1,5 @@
-; RUN: bugpoint %s  -bugpoint-crashcalls
+; RUN: llvm-upgrade < %s > %t1.ll
+; RUN: bugpoint %t1.ll  -bugpoint-crashcalls
 
 ; Test to make sure that arguments are removed from the function if they are unnecessary.
 






More information about the llvm-commits mailing list