[llvm] [JumpThreading] Invalidate LVI after `combineMetadataForCSE`. (PR #65219)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 3 03:49:11 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:

I'll try to refactor it.

https://github.com/llvm/llvm-project/pull/65219


More information about the llvm-commits mailing list