projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580b899
)
Add TODO reminder.
author
Devang Patel
<dpatel@apple.com>
Tue, 11 Mar 2008 17:32:05 +0000
(17:32 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 11 Mar 2008 17:32:05 +0000
(17:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48227
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/SCCP.cpp
b/lib/Transforms/Scalar/SCCP.cpp
index 24ba0bd0961192402485d1e51247bfee20da6edc..479588ef3cebbe3b75b6ecfb81107f1f3f9a43cb 100644
(file)
--- 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)