summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit5cbd3d9c52a244ce34ddd0606902882bb5bf7897 (patch)
tree40961efda86f5b78e0dbbf3cfd00afaeb7f51b58 /llvm/lib
parent7219d1bada7625dea51d2f8fc4e999f100468e8e (diff)
downloadbcm5719-llvm-5cbd3d9c52a244ce34ddd0606902882bb5bf7897.tar.gz
bcm5719-llvm-5cbd3d9c52a244ce34ddd0606902882bb5bf7897.zip
This debug info special case should no longer
be needed now that these intrinsics are marked as not accessing memory. llvm-svn: 66420
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/FunctionAttrs.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
index b6bd411abac..65faef32e5e 100644
--- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/llvm/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())
OpenPOWER on IntegriCloud