Make these tests fail if opt crashes.
authorChris Lattner <sabre@nondot.org>
Sun, 12 Feb 2006 01:32:58 +0000 (01:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 12 Feb 2006 01:32:58 +0000 (01:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26127 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/shift.ll
test/Transforms/InstCombine/xor.ll

index 4db7db977ec71d9a4bae6454261252b0b2fbbe1d..9756880bcc3b5b8e5c9273010189db79ab3e7c66 100644 (file)
@@ -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 sh
 
 implementation
index 57ba596421c3d301752c0fb76cb62a91f1eaff19..13199de8bd851fe4dd1348c624d95c9843ab9529 100644 (file)
@@ -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