aboutsummaryrefslogtreecommitdiffstats
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
commit9af014f80c4c45ee815627e8c08eb9a1de6b2a14 (patch)
tree386d67a6cab7fc584d183c5584814c9c05d6b8b6
parent580b89992fae365fd41832f4342888eb4dbc9eb4 (diff)
downloadexternal_llvm-9af014f80c4c45ee815627e8c08eb9a1de6b2a14.tar.gz
external_llvm-9af014f80c4c45ee815627e8c08eb9a1de6b2a14.tar.bz2
external_llvm-9af014f80c4c45ee815627e8c08eb9a1de6b2a14.zip
Add TODO reminder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48227 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/SCCP.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp
index 24ba0bd096..479588ef3c 100644
--- a/lib/Transforms/Scalar/SCCP.cpp
+++ b/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)