summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/or-to-xor.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
commit9737a63ed8786e58e5aa261df1587673c9eba32d (patch)
tree07b2098a85687c5bdc340fc6e4f67514d5c38336 /llvm/test/Transforms/InstCombine/or-to-xor.ll
parentbe4253a0caf6f011b2af12803db9cf980f48084e (diff)
downloadbcm5719-llvm-9737a63ed8786e58e5aa261df1587673c9eba32d.tar.gz
bcm5719-llvm-9737a63ed8786e58e5aa261df1587673c9eba32d.zip
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this. llvm-svn: 81226
Diffstat (limited to 'llvm/test/Transforms/InstCombine/or-to-xor.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/or-to-xor.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/InstCombine/or-to-xor.ll b/llvm/test/Transforms/InstCombine/or-to-xor.ll
index e40417b17d3..a7588d19111 100644
--- a/llvm/test/Transforms/InstCombine/or-to-xor.ll
+++ b/llvm/test/Transforms/InstCombine/or-to-xor.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {xor i32 %a, %b} | count 4
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {and}
+; RUN: opt %s -instcombine | llvm-dis | grep {xor i32 %a, %b} | count 4
+; RUN: opt %s -instcombine | llvm-dis | not grep {and}
define i32 @func1(i32 %a, i32 %b) nounwind readnone {
entry:
OpenPOWER on IntegriCloud