aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/FunctionAttrs.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-03-09 11:57:08 +0000
committerDuncan Sands <baldrick@free.fr>2009-03-09 11:57:08 +0000
commitee199f72bbc8984eab542ed982f75c5acf42256f (patch)
tree8258f7d546cd9ea9fa69065e72c50347bd49288d /lib/Transforms/IPO/FunctionAttrs.cpp
parentea3a9ff53d699bc22fcff52dbbce8aab6578a020 (diff)
This debug info special case should no longer
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
Diffstat (limited to 'lib/Transforms/IPO/FunctionAttrs.cpp')
-rw-r--r--lib/Transforms/IPO/FunctionAttrs.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/IPO/FunctionAttrs.cpp b/lib/Transforms/IPO/FunctionAttrs.cpp
index b6bd411aba..65faef32e5 100644
--- 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())