Skip to content

Commit 2a38dbf

Browse files
nikicgithub-actions[bot]
authored andcommitted
Automerge: [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.
2 parents 6e44da5 + 541ad3f commit 2a38dbf

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)