From: Duncan Sands Date: Mon, 9 Mar 2009 11:57:08 +0000 (+0000) Subject: This debug info special case should no longer X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ee199f72bbc8984eab542ed982f75c5acf42256f;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/IPO/FunctionAttrs.cpp b/lib/Transforms/IPO/FunctionAttrs.cpp index b6bd411abac..65faef32e5e 100644 --- a/lib/Transforms/IPO/FunctionAttrs.cpp +++ b/lib/Transforms/IPO/FunctionAttrs.cpp @@ -147,10 +147,6 @@ bool FunctionAttrs::AddReadAttrs(const std::vector &SCC) { continue; } - // Ignore dbg info intrinsics. - if (isa(I)) - continue; - // Any remaining instructions need to be taken seriously! Check if they // read or write memory. if (I->mayWriteToMemory())