[llvm] [Analysis] Cache generation of SCEV expander overflow checks (PR #213013)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 07:52:43 PDT 2026


================
@@ -78,6 +78,11 @@ class SCEVExpander : public SCEVUseVisitor<SCEVExpander, Value *> {
   DenseMap<std::pair<SCEVUse, Instruction *>, TrackingVH<Value>>
       InsertedExpressions;
 
+  // InsertedOverflowChecks caches Values for reuse, so must track RAUW.
+  DenseMap<std::tuple<Value *, Value *, Instruction *>,
----------------
david-arm wrote:

Done! See https://github.com/llvm/llvm-project/pull/225800

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


More information about the llvm-commits mailing list