summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopDeletion
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 22:34:10 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 22:34:10 +0000
commit3e054fe9efc64596534bbae0d1634ed15181d642 (patch)
tree8da773058a2492290d4648d8f5dba5c3b8382142 /test/Transforms/LoopDeletion
parentf31657990191d5b2bb1eb3bd95020fc3375f0e3d (diff)
downloadllvm-3e054fe9efc64596534bbae0d1634ed15181d642.tar.gz
llvm-3e054fe9efc64596534bbae0d1634ed15181d642.tar.bz2
llvm-3e054fe9efc64596534bbae0d1634ed15181d642.tar.xz
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/LoopDeletion')
-rw-r--r--test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll2
-rw-r--r--test/Transforms/LoopDeletion/dcetest.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll b/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll
index 41786e5007..dbd2b9b019 100644
--- a/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll
+++ b/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-deletion | llvm-dis | grep switch
+; RUN: opt %s -loop-deletion -S | grep switch
; PR 1564
define fastcc void @out() {
diff --git a/test/Transforms/LoopDeletion/dcetest.ll b/test/Transforms/LoopDeletion/dcetest.ll
index ab4f287319..b751244532 100644
--- a/test/Transforms/LoopDeletion/dcetest.ll
+++ b/test/Transforms/LoopDeletion/dcetest.ll
@@ -1,7 +1,7 @@
; This is the test case taken from Appel's book that illustrates a hard case
; that SCCP gets right, and when followed by ADCE, is completely eliminated
;
-; RUN: opt %s -sccp -simplifycfg -indvars -loop-deletion -dce -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -sccp -simplifycfg -indvars -loop-deletion -dce -simplifycfg -S | not grep br
define i32 @"test function"(i32 %i0, i32 %j0) {
BB1: