Autoupgrade malloc insts to malloc calls.
authorVictor Hernandez <vhernandez@apple.com>
Sat, 17 Oct 2009 00:00:19 +0000 (00:00 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Sat, 17 Oct 2009 00:00:19 +0000 (00:00 +0000)
commit13ad5aaaff8a446758b402fd5e9aea22f5bc5682
tree02a18132aa0c90ad96e5aafeaea17439bb9cb5c2
parent8db42d2b1ce05e69b67f37c4e56a0f987a0c01d7
Autoupgrade malloc insts to malloc calls.
Update testcases that rely on malloc insts being present.

Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass tests in this incremental step.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84292 91177308-0d34-0410-b5e6-96231b3b80d8
20 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/Transforms/IPO/IndMemRemoval.cpp
lib/Transforms/IPO/RaiseAllocations.cpp
lib/Transforms/Scalar/Reassociate.cpp
lib/VMCore/Core.cpp
lib/VMCore/Instructions.cpp
test/Transforms/GlobalOpt/malloc-promote-2.ll
test/Transforms/GlobalOpt/malloc-promote-3.ll
test/Transforms/IndMemRem/2009-01-24-Noalias.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
test/Transforms/InstCombine/malloc3.ll