projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
instcombine: merge the functions that remove dead allocas and dead mallocs/callocs/...
[oota-llvm.git]
/
lib
/
Transforms
/
InstCombine
/
InstCombineCalls.cpp
diff --git
a/lib/Transforms/InstCombine/InstCombineCalls.cpp
b/lib/Transforms/InstCombine/InstCombineCalls.cpp
index f74cff85c65b24b9eb1e893286d6f1350e5f6bb9..c1d9d01c8d83e6155ea266beb1ec650e6d0035a3 100644
(file)
--- a/
lib/Transforms/InstCombine/InstCombineCalls.cpp
+++ b/
lib/Transforms/InstCombine/InstCombineCalls.cpp
@@
-880,7
+880,7
@@
static IntrinsicInst *FindInitTrampoline(Value *Callee) {
//
Instruction *InstCombiner::visitCallSite(CallSite CS) {
if (isAllocLikeFn(CS.getInstruction()))
- return visit
Malloc
(*CS.getInstruction());
+ return visit
AllocSite
(*CS.getInstruction());
bool Changed = false;