From bd8987285ba8e4bcce6be8a347b2537da9444911 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Wed, 4 Apr 2007 20:35:31 +0000 Subject: [PATCH] Get it right... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35670 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../InstCombine/2007-04-04-BadFoldBitcastIntoMalloc.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Transforms/InstCombine/2007-04-04-BadFoldBitcastIntoMalloc.ll b/test/Transforms/InstCombine/2007-04-04-BadFoldBitcastIntoMalloc.ll index 335f318c64c..cfa701cd0db 100644 --- a/test/Transforms/InstCombine/2007-04-04-BadFoldBitcastIntoMalloc.ll +++ b/test/Transforms/InstCombine/2007-04-04-BadFoldBitcastIntoMalloc.ll @@ -2,7 +2,8 @@ ; 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 -disable-output && +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep '= add i32' 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"