From 5cbd3d9c52a244ce34ddd0606902882bb5bf7897 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 9 Mar 2009 11:57:08 +0000 Subject: This debug info special case should no longer be needed now that these intrinsics are marked as not accessing memory. llvm-svn: 66420 --- llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp') 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 &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()) -- cgit v1.2.3