[llvm] [MemCpyOpt] Use EarliestEscapeInfo (PR #110280)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 28 00:58:58 PDT 2024
================
@@ -284,6 +284,7 @@ static bool mayBeVisibleThroughUnwinding(Value *V, Instruction *Start,
void MemCpyOptPass::eraseInstruction(Instruction *I) {
MSSAU->removeMemoryAccess(I);
+ EEI->removeInstruction(I);
----------------
nikic wrote:
Nice catch, fixed!
https://github.com/llvm/llvm-project/pull/110280
More information about the llvm-commits
mailing list