diff options
author | Victor Hernandez <vhernandez@apple.com> | 2009-09-24 17:47:49 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2009-09-24 17:47:49 +0000 |
commit | b493c9735a034856258c992d967b523d0effa7ce (patch) | |
tree | dd7af062fff46c35323ed13331eda6126609cf91 /test/Analysis | |
parent | 92244901c3c0101b8114ffa52c1dcf0e9cda72a1 (diff) | |
download | external_llvm-b493c9735a034856258c992d967b523d0effa7ce.zip external_llvm-b493c9735a034856258c992d967b523d0effa7ce.tar.gz external_llvm-b493c9735a034856258c992d967b523d0effa7ce.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/Analysis')
-rw-r--r-- | test/Analysis/PointerTracking/sizes.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/PointerTracking/sizes.ll b/test/Analysis/PointerTracking/sizes.ll index c0b0606..c6224e0 100644 --- a/test/Analysis/PointerTracking/sizes.ll +++ b/test/Analysis/PointerTracking/sizes.ll @@ -63,7 +63,7 @@ entry: define i32 @foo2(i32 %n) nounwind { entry: %call = malloc i8, i32 %n ; <i8*> [#uses=1] -; CHECK: %call = +; CHECK: %malloccall = ; CHECK: ==> %n elements, %n bytes allocated %call2 = tail call i8* @calloc(i64 2, i64 4) nounwind ; <i8*> [#uses=1] ; CHECK: %call2 = |