summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/preserve-sminmax.ll
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/InstCombine/preserve-sminmax.ll
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/InstCombine/preserve-sminmax.ll')
-rw-r--r--test/Transforms/InstCombine/preserve-sminmax.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/preserve-sminmax.ll b/test/Transforms/InstCombine/preserve-sminmax.ll
index d8e9e4c842..df4ed8dbab 100644
--- a/test/Transforms/InstCombine/preserve-sminmax.ll
+++ b/test/Transforms/InstCombine/preserve-sminmax.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis | grep { i32 \[%\]sd, \[\[:alnum:\]\]* \\?1\\>} | count 4
+; RUN: opt %s -instcombine -S | grep { i32 \[%\]sd, \[\[:alnum:\]\]* \\?1\\>} | count 4
; Instcombine normally would fold the sdiv into the comparison,
; making "icmp slt i32 %h, 2", but in this case the sdiv has