summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-03-11 17:32:05 +0000
committerDevang Patel <dpatel@apple.com>2008-03-11 17:32:05 +0000
commite418de302334e6b9519428fced35a79a031a79b1 (patch)
tree68515998616862fadd5d7b27c2faf47d90ad1d59 /llvm/lib
parentd3a20c9e1eb20f536f7613e6f31c552655efdb7b (diff)
downloadbcm5719-llvm-e418de302334e6b9519428fced35a79a031a79b1.tar.gz
bcm5719-llvm-e418de302334e6b9519428fced35a79a031a79b1.zip
Add TODO reminder.
llvm-svn: 48227
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Scalar/SCCP.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp
index 24ba0bd0961..479588ef3ce 100644
--- a/llvm/lib/Transforms/Scalar/SCCP.cpp
+++ b/llvm/lib/Transforms/Scalar/SCCP.cpp
@@ -1760,6 +1760,7 @@ bool IPSCCP::runOnModule(Module &M) {
// 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)
OpenPOWER on IntegriCloud