aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/cast-malloc.ll
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2009-09-24 17:47:49 +0000
committerVictor Hernandez <vhernandez@apple.com>2009-09-24 17:47:49 +0000
commit96b930ddc7f0df9e278a5cb65ad77a559a20964e (patch)
treedd7af062fff46c35323ed13331eda6126609cf91 /test/Transforms/InstCombine/cast-malloc.ll
parentc34666ee1871d47dfa4865c7138902dd1b770101 (diff)
downloadexternal_llvm-96b930ddc7f0df9e278a5cb65ad77a559a20964e.zip
external_llvm-96b930ddc7f0df9e278a5cb65ad77a559a20964e.tar.gz
external_llvm-96b930ddc7f0df9e278a5cb65ad77a559a20964e.tar.bz2
Auto-upgrade malloc instructions to malloc calls.
Reviewed by Devang Patel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/cast-malloc.ll')
-rw-r--r--test/Transforms/InstCombine/cast-malloc.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/cast-malloc.ll b/test/Transforms/InstCombine/cast-malloc.ll
index 3754032..43a1489 100644
--- a/test/Transforms/InstCombine/cast-malloc.ll
+++ b/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: not grep bitcast
+; RUN: grep bitcast | count 1
; 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