summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/xor.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-12 01:32:58 +0000
committerChris Lattner <sabre@nondot.org>2006-02-12 01:32:58 +0000
commit82b98a06463def82d4cfc1d2879b10c629057610 (patch)
treeadb51652af1572c8a8fa2cba02e75d2cbbffcc20 /test/Transforms/InstCombine/xor.ll
parentd308ddcd67f1e8acc4973186300fba927061ef32 (diff)
downloadllvm-82b98a06463def82d4cfc1d2879b10c629057610.tar.gz
llvm-82b98a06463def82d4cfc1d2879b10c629057610.tar.bz2
llvm-82b98a06463def82d4cfc1d2879b10c629057610.tar.xz
Make these tests fail if opt crashes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/xor.ll')
-rw-r--r--test/Transforms/InstCombine/xor.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/xor.ll b/test/Transforms/InstCombine/xor.ll
index 57ba596421..13199de8bd 100644
--- a/test/Transforms/InstCombine/xor.ll
+++ b/test/Transforms/InstCombine/xor.ll
@@ -1,6 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
+; RUN: llvm-as < %s | opt -instcombine -disable-output &&
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'xor '
%G1 = global uint 0