Skip to content

Commit 34bf25a

Browse files
committed
Remove todo
1 parent 59edaae commit 34bf25a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Transforms/IPO/IROutliner.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,10 +1942,6 @@ void replaceConstants(OutlinableRegion &Region) {
19421942
Argument *Arg = Group.OutlinedFunction->getArg(AggArgIdx);
19431943
// Identify the argument it will be elevated to, and replace instances of
19441944
// that constant in the function.
1945-
1946-
// TODO: If in the future constants do not have one global value number,
1947-
// i.e. a constant 1 could be mapped to several values, this check will
1948-
// have to be more strict. It cannot be using only replaceUsesWithIf.
19491945
VMap[CST] = Arg;
19501946
LLVM_DEBUG(dbgs() << "Replacing uses of constant " << *CST
19511947
<< " in function " << *OutlinedFunction << " with "

0 commit comments

Comments
 (0)