From e6ff7662b67a358cf985c5133f9cb30f9d979e97 Mon Sep 17 00:00:00 2001 From: Victor Hernandez Date: Fri, 25 Sep 2009 18:11:52 +0000 Subject: Revert 82694 "Auto-upgrade malloc instructions to malloc calls." because it causes regressions in the nightly tests. llvm-svn: 82784 --- llvm/test/Transforms/InstCombine/cast-malloc.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/Transforms/InstCombine/cast-malloc.ll') diff --git a/llvm/test/Transforms/InstCombine/cast-malloc.ll b/llvm/test/Transforms/InstCombine/cast-malloc.ll index 43a14892770..3754032cc2f 100644 --- a/llvm/test/Transforms/InstCombine/cast-malloc.ll +++ b/llvm/test/Transforms/InstCombine/cast-malloc.ll @@ -1,6 +1,6 @@ ; test that casted mallocs get converted to malloc of the right type ; RUN: opt < %s -instcombine -S | \ -; RUN: grep bitcast | count 1 +; RUN: not grep bitcast ; The target datalayout is important for this test case. We have to tell ; instcombine that the ABI alignment for a long is 4-bytes, not 8, otherwise -- cgit v1.2.3