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; }