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:
ea3a9ff
)
This debug info special case should no longer
author
Duncan Sands
<baldrick@free.fr>
Mon, 9 Mar 2009 11:57:08 +0000
(11:57 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Mon, 9 Mar 2009 11:57:08 +0000
(11:57 +0000)
be needed now that these intrinsics are marked
as not accessing memory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66420
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 b6bd411abacc59dba404d9272b87ac3718166b8a..65faef32e5e2b5df4d149102649886af7e7825f7 100644
(file)
--- a/
lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/
lib/Transforms/IPO/FunctionAttrs.cpp
@@
-147,10
+147,6
@@
bool FunctionAttrs::AddReadAttrs(const std::vector<CallGraphNode *> &SCC) {
continue;
}
- // Ignore dbg info intrinsics.
- if (isa<DbgInfoIntrinsic>(I))
- continue;
-
// Any remaining instructions need to be taken seriously! Check if they
// read or write memory.
if (I->mayWriteToMemory())