diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-08 22:34:10 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-08 22:34:10 +0000 |
commit | 3e054fe9efc64596534bbae0d1634ed15181d642 (patch) | |
tree | 8da773058a2492290d4648d8f5dba5c3b8382142 /test/Transforms/TailCallElim | |
parent | f31657990191d5b2bb1eb3bd95020fc3375f0e3d (diff) | |
download | external_llvm-3e054fe9efc64596534bbae0d1634ed15181d642.zip external_llvm-3e054fe9efc64596534bbae0d1634ed15181d642.tar.gz external_llvm-3e054fe9efc64596534bbae0d1634ed15181d642.tar.bz2 |
Use opt -S instead of piping bitcode output through llvm-dis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/TailCallElim')
10 files changed, 10 insertions, 10 deletions
diff --git a/test/Transforms/TailCallElim/accum_recursion.ll b/test/Transforms/TailCallElim/accum_recursion.ll index 0124d20..7b9545e 100644 --- a/test/Transforms/TailCallElim/accum_recursion.ll +++ b/test/Transforms/TailCallElim/accum_recursion.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -tailcallelim | llvm-dis | not grep call +; RUN: opt %s -tailcallelim -S | 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 e55e60a..99eb057 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: opt %s -tailcallelim | llvm-dis | not grep call +; RUN: opt %s -tailcallelim -S | 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 966fa1f..7f08a06 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: opt %s -tailcallelim | llvm-dis | \ +; RUN: opt %s -tailcallelim -S | \ ; RUN: grep {call i32 @foo} declare void @bar(i32*) diff --git a/test/Transforms/TailCallElim/dont_reorder_load.ll b/test/Transforms/TailCallElim/dont_reorder_load.ll index 8fbe008..ba8a4f0 100644 --- a/test/Transforms/TailCallElim/dont_reorder_load.ll +++ b/test/Transforms/TailCallElim/dont_reorder_load.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as <%s | opt -tailcallelim | llvm-dis | grep call | count 3 +; RUN: llvm-as <%s | opt -tailcallelim -S | grep call | count 3 ; PR4323 ; Several cases where tail call elimination should not move the load above the diff --git a/test/Transforms/TailCallElim/inf-recursion.ll b/test/Transforms/TailCallElim/inf-recursion.ll index b2ca8d5..9a5a8db 100644 --- a/test/Transforms/TailCallElim/inf-recursion.ll +++ b/test/Transforms/TailCallElim/inf-recursion.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -tailcallelim | llvm-dis | grep call +; RUN: opt %s -tailcallelim -S | 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 27cbfef..7453be5 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: opt %s -tailcallelim | llvm-dis | not grep call +; RUN: opt %s -tailcallelim -S | not grep call define i32 @Test(i32 %X) { entry: diff --git a/test/Transforms/TailCallElim/move_alloca_for_tail_call.ll b/test/Transforms/TailCallElim/move_alloca_for_tail_call.ll index b1fe721..a556ddb 100644 --- a/test/Transforms/TailCallElim/move_alloca_for_tail_call.ll +++ b/test/Transforms/TailCallElim/move_alloca_for_tail_call.ll @@ -1,4 +1,4 @@ -; RUN: opt -tailcallelim %s | llvm-dis | FileCheck %s +; RUN: opt -tailcallelim %s -S | FileCheck %s ; PR615 declare void @bar(i32*) diff --git a/test/Transforms/TailCallElim/reorder_load.ll b/test/Transforms/TailCallElim/reorder_load.ll index aeb9042..efa2910 100644 --- a/test/Transforms/TailCallElim/reorder_load.ll +++ b/test/Transforms/TailCallElim/reorder_load.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as <%s | opt -tailcallelim | llvm-dis | not grep call +; RUN: llvm-as <%s | opt -tailcallelim -S | not grep call ; PR4323 ; Several cases where tail call elimination should move the load above the call, diff --git a/test/Transforms/TailCallElim/return_constant.ll b/test/Transforms/TailCallElim/return_constant.ll index e19d274..ff97482 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: opt %s -tailcallelim | llvm-dis | not grep call +; RUN: opt %s -tailcallelim -S | 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 9ab4857..c9da377 100644 --- a/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll +++ b/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -tailcallelim | llvm-dis | \ +; RUN: opt %s -tailcallelim -S | \ ; RUN: grep {tail call void @foo} |