aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/Reassociate/basictest.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 16:50:01 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 16:50:01 +0000
commitb1e1e82c54c060ea5dae09dae043234826ca2539 (patch)
tree97db9bdf6b44f9fd60eb81fa17ea54281587f89d /test/Transforms/Reassociate/basictest.ll
parentee7110f0478cc90ffa419759e21557ed8d669562 (diff)
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/Reassociate/basictest.ll')
-rw-r--r--test/Transforms/Reassociate/basictest.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/Reassociate/basictest.ll b/test/Transforms/Reassociate/basictest.ll
index 09db47b190..738fa66717 100644
--- a/test/Transforms/Reassociate/basictest.ll
+++ b/test/Transforms/Reassociate/basictest.ll
@@ -1,6 +1,6 @@
; With reassociation, constant folding can eliminate the 12 and -12 constants.
;
-; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep add
+; RUN: opt %s -reassociate -constprop -instcombine -die | llvm-dis | not grep add
define i32 @test(i32 %arg) {
%tmp1 = sub i32 -12, %arg ; <i32> [#uses=1]