diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
commit | b1e1e82c54c060ea5dae09dae043234826ca2539 (patch) | |
tree | 97db9bdf6b44f9fd60eb81fa17ea54281587f89d /test/Transforms/TailCallElim | |
parent | ee7110f0478cc90ffa419759e21557ed8d669562 (diff) | |
download | llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.gz llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.bz2 llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.xz |
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/TailCallElim')
7 files changed, 7 insertions, 7 deletions
diff --git a/test/Transforms/TailCallElim/accum_recursion.ll b/test/Transforms/TailCallElim/accum_recursion.ll index e8c28ec806..0124d20556 100644 --- a/test/Transforms/TailCallElim/accum_recursion.ll +++ b/test/Transforms/TailCallElim/accum_recursion.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call +; RUN: opt %s -tailcallelim | llvm-dis | not grep call define i32 @factorial(i32 %x) { entry: diff --git a/test/Transforms/TailCallElim/accum_recursion_constant_arg.ll b/test/Transforms/TailCallElim/accum_recursion_constant_arg.ll index 4d63b595d7..e55e60ad4d 100644 --- a/test/Transforms/TailCallElim/accum_recursion_constant_arg.ll +++ b/test/Transforms/TailCallElim/accum_recursion_constant_arg.ll @@ -3,7 +3,7 @@ ; go out to the anonymous users of the demo script for "suggesting" ; optimizations that should be done. :) -; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call +; RUN: opt %s -tailcallelim | llvm-dis | not grep call define i32 @mul(i32 %x, i32 %y) { entry: diff --git a/test/Transforms/TailCallElim/dont-tce-tail-marked-call.ll b/test/Transforms/TailCallElim/dont-tce-tail-marked-call.ll index e20fe18d5a..966fa1fcd4 100644 --- a/test/Transforms/TailCallElim/dont-tce-tail-marked-call.ll +++ b/test/Transforms/TailCallElim/dont-tce-tail-marked-call.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | \ +; RUN: opt %s -tailcallelim | llvm-dis | \ ; RUN: grep {call i32 @foo} declare void @bar(i32*) diff --git a/test/Transforms/TailCallElim/inf-recursion.ll b/test/Transforms/TailCallElim/inf-recursion.ll index fe00f4a764..b2ca8d5b15 100644 --- a/test/Transforms/TailCallElim/inf-recursion.ll +++ b/test/Transforms/TailCallElim/inf-recursion.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | grep call +; RUN: opt %s -tailcallelim | llvm-dis | grep call ; Don't turn this into an infinite loop, this is probably the implementation ; of fabs and we expect the codegen to lower fabs. diff --git a/test/Transforms/TailCallElim/intervening-inst.ll b/test/Transforms/TailCallElim/intervening-inst.ll index ae4f50941f..27cbfef114 100644 --- a/test/Transforms/TailCallElim/intervening-inst.ll +++ b/test/Transforms/TailCallElim/intervening-inst.ll @@ -1,5 +1,5 @@ ; This function contains intervening instructions which should be moved out of the way -; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call +; RUN: opt %s -tailcallelim | llvm-dis | not grep call define i32 @Test(i32 %X) { entry: diff --git a/test/Transforms/TailCallElim/return_constant.ll b/test/Transforms/TailCallElim/return_constant.ll index ab69a42b78..e19d274830 100644 --- a/test/Transforms/TailCallElim/return_constant.ll +++ b/test/Transforms/TailCallElim/return_constant.ll @@ -1,7 +1,7 @@ ; Though this case seems to be fairly unlikely to occur in the wild, someone ; plunked it into the demo script, so maybe they care about it. ; -; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call +; RUN: opt %s -tailcallelim | llvm-dis | not grep call define i32 @aaa(i32 %c) { entry: diff --git a/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll b/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll index 90a8163ee3..9ab4857d9c 100644 --- a/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll +++ b/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | \ +; RUN: opt %s -tailcallelim | llvm-dis | \ ; RUN: grep {tail call void @foo} |