[llvm] [JumpThreading] Invalidate LVI after `combineMetadataForCSE`. (PR #65219)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 3 04:03:25 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);
----------------
DianQK wrote:
The `M` makes no sense. I just deleted it.
I want to backport the first two commits. So I will split the refactoring into a third commit.
https://github.com/llvm/llvm-project/pull/65219
More information about the llvm-commits
mailing list