From 69ccadd7535a83b348595cf603126e6a68b2883b Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 2 Dec 2006 04:23:10 +0000 Subject: Use the llvm-upgrade program to upgrade llvm assembly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/TailDup/2003-06-24-Simpleloop.ll | 2 +- test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll | 2 +- test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll | 2 +- test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll | 2 +- test/Transforms/TailDup/2004-04-01-DemoteRegToStack.llx | 2 +- test/Transforms/TailDup/MergeTest.ll | 2 +- test/Transforms/TailDup/PHIUpdateTest.ll | 2 +- test/Transforms/TailDup/basictest.ll | 2 +- test/Transforms/TailDup/basictest2.ll | 2 +- test/Transforms/TailDup/if-tail-dup.ll | 5 +++-- 10 files changed, 12 insertions(+), 11 deletions(-) (limited to 'test/Transforms/TailDup') diff --git a/test/Transforms/TailDup/2003-06-24-Simpleloop.ll b/test/Transforms/TailDup/2003-06-24-Simpleloop.ll index 3047fe6ddc..e2b979cb00 100644 --- a/test/Transforms/TailDup/2003-06-24-Simpleloop.ll +++ b/test/Transforms/TailDup/2003-06-24-Simpleloop.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailduplicate -disable-output +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output void %motion_result7() { entry: diff --git a/test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll b/test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll index c7233395bc..4d650696ba 100644 --- a/test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll +++ b/test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailduplicate -disable-output +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output implementation diff --git a/test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll b/test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll index 4b98675421..72e03e10c5 100644 --- a/test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll +++ b/test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailduplicate -disable-output +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output implementation diff --git a/test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll b/test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll index fc020cc0f8..416a5df808 100644 --- a/test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll +++ b/test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailduplicate -disable-output +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output int %foo() { entry: diff --git a/test/Transforms/TailDup/2004-04-01-DemoteRegToStack.llx b/test/Transforms/TailDup/2004-04-01-DemoteRegToStack.llx index 21a3ffa0e6..4ea84909e5 100644 --- a/test/Transforms/TailDup/2004-04-01-DemoteRegToStack.llx +++ b/test/Transforms/TailDup/2004-04-01-DemoteRegToStack.llx @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailduplicate -disable-output +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output void %interpret() { entry: diff --git a/test/Transforms/TailDup/MergeTest.ll b/test/Transforms/TailDup/MergeTest.ll index ef6fe0729e..c11d735f1d 100644 --- a/test/Transforms/TailDup/MergeTest.ll +++ b/test/Transforms/TailDup/MergeTest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailduplicate | llvm-dis | grep add | not grep uses=1 +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llvm-dis | grep add | not grep uses=1 int %test1(bool %C, int %A, int* %P) { entry: diff --git a/test/Transforms/TailDup/PHIUpdateTest.ll b/test/Transforms/TailDup/PHIUpdateTest.ll index 433b078025..ae591a00be 100644 --- a/test/Transforms/TailDup/PHIUpdateTest.ll +++ b/test/Transforms/TailDup/PHIUpdateTest.ll @@ -1,6 +1,6 @@ ; This test checks to make sure phi nodes are updated properly ; -; RUN: llvm-as < %s | opt -tailduplicate -disable-output +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output diff --git a/test/Transforms/TailDup/basictest.ll b/test/Transforms/TailDup/basictest.ll index f20896d68a..085acf5577 100644 --- a/test/Transforms/TailDup/basictest.ll +++ b/test/Transforms/TailDup/basictest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailduplicate -disable-output +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output declare void %__main() diff --git a/test/Transforms/TailDup/basictest2.ll b/test/Transforms/TailDup/basictest2.ll index 06fa071e76..c67b3d53f0 100644 --- a/test/Transforms/TailDup/basictest2.ll +++ b/test/Transforms/TailDup/basictest2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailduplicate -disable-output +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output void %ab() { entry: diff --git a/test/Transforms/TailDup/if-tail-dup.ll b/test/Transforms/TailDup/if-tail-dup.ll index 69205ec1d5..6a02ac51a3 100644 --- a/test/Transforms/TailDup/if-tail-dup.ll +++ b/test/Transforms/TailDup/if-tail-dup.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | opt -tailduplicate | llc -march=x86 | grep 'je ' && -; RUN: llvm-as < %s | opt -tailduplicate | llc -march=x86 | not grep jmp +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llc -march=x86 | grep 'je ' && +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llc -march=x86 | not grep jmp ; This should have no unconditional jumps in it. The C source is: ;void foo(int c, int* P) { @@ -9,6 +9,7 @@ ; if (c & 8) P[3] = 1; ;} +implementation void %foo(int %c, int* %P) { entry: -- cgit v1.2.3-18-g5258