Skip to content

Commit 541ad3f

Browse files
committed
[MemCpyOpt] Drop outdated TODO (NFC)
This code was already changed to make use of UseCC/ResultCC. We can't restrict the check to provenance or address only, as both are relevant here.
1 parent 003e501 commit 541ad3f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,6 @@ bool MemCpyOptPass::performStackMoveOptzn(Instruction *Load, Instruction *Store,
15451545
if (!Visited.insert(&U).second)
15461546
continue;
15471547
UseCaptureInfo CI = DetermineUseCaptureKind(U, AI);
1548-
// TODO(captures): Make this more precise.
15491548
if (capturesAnything(CI.UseCC))
15501549
return false;
15511550

0 commit comments

Comments
 (0)