diff options
Diffstat (limited to 'test/BugPoint')
-rw-r--r-- | test/BugPoint/crash-basictest.ll | 4 | ||||
-rw-r--r-- | test/BugPoint/crash-narrowfunctiontest.ll | 3 | ||||
-rw-r--r-- | test/BugPoint/misopt-basictest.ll | 5 | ||||
-rw-r--r-- | test/BugPoint/remove_arguments_test.ll | 3 |
4 files changed, 9 insertions, 6 deletions
diff --git a/test/BugPoint/crash-basictest.ll b/test/BugPoint/crash-basictest.ll index 3c5804ced7..77eb6ecdc5 100644 --- a/test/BugPoint/crash-basictest.ll +++ b/test/BugPoint/crash-basictest.ll @@ -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() diff --git a/test/BugPoint/crash-narrowfunctiontest.ll b/test/BugPoint/crash-narrowfunctiontest.ll index 8927ba1905..197e42f59d 100644 --- a/test/BugPoint/crash-narrowfunctiontest.ll +++ b/test/BugPoint/crash-narrowfunctiontest.ll @@ -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 } diff --git a/test/BugPoint/misopt-basictest.ll b/test/BugPoint/misopt-basictest.ll index 76363dfb1f..66cc53f42e 100644 --- a/test/BugPoint/misopt-basictest.ll +++ b/test/BugPoint/misopt-basictest.ll @@ -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" diff --git a/test/BugPoint/remove_arguments_test.ll b/test/BugPoint/remove_arguments_test.ll index 5a0bd6f009..ed77da7cb8 100644 --- a/test/BugPoint/remove_arguments_test.ll +++ b/test/BugPoint/remove_arguments_test.ll @@ -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. |