summaryrefslogtreecommitdiff
path: root/test/Transforms/Reassociate/2002-05-15-SubReassociate2.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/Reassociate/2002-05-15-SubReassociate2.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/Reassociate/2002-05-15-SubReassociate2.ll')
-rw-r--r--test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll b/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
index 9674014971..2350911cd6 100644
--- a/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
+++ b/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
@@ -1,6 +1,6 @@
; With sub reassociation, constant folding can eliminate the two 12 constants.
;
-; RUN: opt %s -reassociate -constprop -dce | llvm-dis | not grep 12
+; RUN: opt %s -reassociate -constprop -dce -S | not grep 12
define i32 @test(i32 %A, i32 %B, i32 %C, i32 %D) {
%M = add i32 %A, 12 ; <i32> [#uses=1]