projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e43ca
)
Malloc calls are marked NoAlias, so the code below the isMalloc() check makes it...
author
Victor Hernandez
<vhernandez@apple.com>
Mon, 19 Oct 2009 21:47:22 +0000
(21:47 +0000)
committer
Victor Hernandez
<vhernandez@apple.com>
Mon, 19 Oct 2009 21:47:22 +0000
(21:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84541
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/FunctionAttrs.cpp
b/lib/Transforms/IPO/FunctionAttrs.cpp
index 563d594c7b0c3bc8620866be3ad1774c4077fa9a..0701b94c58e8880a70c122735b6468987eebec98 100644
(file)
--- a/
lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/
lib/Transforms/IPO/FunctionAttrs.cpp
@@
-269,8
+269,6
@@
bool FunctionAttrs::IsFunctionMallocLike(Function *F,
case Instruction::Alloca:
break;
case Instruction::Call:
- if (isMalloc(RVI))
- break;
case Instruction::Invoke: {
CallSite CS(RVI);
if (CS.paramHasAttr(0, Attribute::NoAlias))