mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-19 04:28:20 +00:00
Add TODO reminder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1760,6 +1760,7 @@ bool IPSCCP::runOnModule(Module &M) {
|
|||||||
// all call uses with the inferred value. This means we don't need to bother
|
// all call uses with the inferred value. This means we don't need to bother
|
||||||
// actually returning anything from the function. Replace all return
|
// actually returning anything from the function. Replace all return
|
||||||
// instructions with return undef.
|
// instructions with return undef.
|
||||||
|
// TODO: Process multiple value ret instructions also.
|
||||||
const DenseMap<Function*, LatticeVal> &RV = Solver.getTrackedRetVals();
|
const DenseMap<Function*, LatticeVal> &RV = Solver.getTrackedRetVals();
|
||||||
for (DenseMap<Function*, LatticeVal>::const_iterator I = RV.begin(),
|
for (DenseMap<Function*, LatticeVal>::const_iterator I = RV.begin(),
|
||||||
E = RV.end(); I != E; ++I)
|
E = RV.end(); I != E; ++I)
|
||||||
|
Reference in New Issue
Block a user