[llvm-commits] [llvm] r48227 - /llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
Devang Patel
dpatel at apple.com
Tue Mar 11 10:32:10 PDT 2008
Author: dpatel
Date: Tue Mar 11 12:32:05 2008
New Revision: 48227
URL: http://llvm.org/viewvc/llvm-project?rev=48227&view=rev
Log:
Add TODO reminder.
Modified:
llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SCCP.cpp?rev=48227&r1=48226&r2=48227&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SCCP.cpp Tue Mar 11 12:32:05 2008
@@ -1760,6 +1760,7 @@
// all call uses with the inferred value. This means we don't need to bother
// actually returning anything from the function. Replace all return
// instructions with return undef.
+ // TODO: Process multiple value ret instructions also.
const DenseMap<Function*, LatticeVal> &RV = Solver.getTrackedRetVals();
for (DenseMap<Function*, LatticeVal>::const_iterator I = RV.begin(),
E = RV.end(); I != E; ++I)
More information about the llvm-commits
mailing list