[llvm] [JumpThreading] Invalidate LVI after `combineMetadataForCSE`. (PR #65219)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 3 11:24:17 PDT 2023
================
@@ -1969,6 +1973,11 @@ void LazyValueInfo::threadEdge(BasicBlock *PredBB, BasicBlock *OldSucc,
}
}
+void LazyValueInfo::eraseValue(Value *V, const Module *M) {
+ if (PImpl)
+ getImpl(PImpl, AC, M).eraseValue(V);
----------------
nikic wrote:
Yeah, splitting up the refactoring is a good idea.
https://github.com/llvm/llvm-project/pull/65219
More information about the llvm-commits
mailing list