When invalidating a SCEVUnknown via CallbackVH, also drop all references to the SCEVUnknown or SCEV expressions using it from the ValueToExpr map. This means we no longer need to check for validity in getExistingSCEV().
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I have a suspicion that ValueExprMap and ExprValueMap may not always be sync, need to double check that first.
Comment Actions
This has been mostly replaced by D113349. The remaining change is to drop the checkValidity() call, but that's NFC after that patch.