From 73e70822ae9dd03f092b1ae56c5fed6d39b7af3c Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 29 Dec 2006 20:01:32 +0000 Subject: Update tests that need to be run through llvm-upgrade. This is necessary for upcoming changes to the llvm assembly grammar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32768 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/BugPoint/crash-basictest.ll | 4 +++- test/BugPoint/crash-narrowfunctiontest.ll | 3 ++- test/BugPoint/misopt-basictest.ll | 5 ++--- test/BugPoint/remove_arguments_test.ll | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) (limited to 'test/BugPoint') 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. -- cgit v1.2.3