Auto-upgrade malloc instructions to malloc calls.
authorVictor Hernandez <vhernandez@apple.com>
Thu, 24 Sep 2009 17:47:49 +0000 (17:47 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Thu, 24 Sep 2009 17:47:49 +0000 (17:47 +0000)
commit96b930ddc7f0df9e278a5cb65ad77a559a20964e
treedd7af062fff46c35323ed13331eda6126609cf91
parentc34666ee1871d47dfa4865c7138902dd1b770101
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
16 files changed:
examples/BrainF/BrainF.cpp
include/llvm/Instructions.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/VMCore/Core.cpp
lib/VMCore/Instructions.cpp
test/Analysis/PointerTracking/sizes.ll
test/Transforms/GlobalOpt/malloc-promote-2.ll
test/Transforms/GlobalOpt/malloc-promote-3.ll
test/Transforms/InstCombine/cast-malloc.ll
test/Transforms/InstCombine/cast.ll
test/Transforms/InstCombine/getelementptr.ll
test/Transforms/InstCombine/malloc-free-delete.ll
test/Transforms/InstCombine/malloc2.ll