Use MachineBasicBlock::transferSuccessors.
[oota-llvm.git] / test / Transforms / InstCombine / 2007-04-04-BadFoldBitcastIntoMalloc.ll
index 335f318c64c6916b4255cf88bdc05259655c8141..e738635be7631ecbd5e51a4c27ddca315744d7f0 100644 (file)
@@ -2,7 +2,7 @@
 ; a malloc messes up the element count, causing an extra 4GB to be allocated on
 ; 64-bit targets.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v '= add i32'
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {= add }
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "x86_64-unknown-freebsd6.2"