From: Chris Lattner Date: Sun, 14 Nov 2004 06:57:47 +0000 (+0000) Subject: Remove note to self X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6739eae7ea45672a82029ac0a907c97ec1fe6dc5;p=oota-llvm.git Remove note to self git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17734 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/IPConstantPropagation.cpp b/lib/Transforms/IPO/IPConstantPropagation.cpp index fc3b30fa68a..99ad8445b15 100644 --- a/lib/Transforms/IPO/IPConstantPropagation.cpp +++ b/lib/Transforms/IPO/IPConstantPropagation.cpp @@ -186,9 +186,5 @@ bool IPCP::PropagateConstantReturn(Function &F) { } if (MadeChange) ++NumReturnValProped; - - // FIXME: DAE should remove dead return values if the result is an undef - // value... or if it is never used. - return MadeChange; }