isValidRewrite() checks that the both the original SCEV,
and the rewrite SCEV have the same base pointer.
I believe, after all the recent SCEV improvements,
this invariant is already enforced by SCEV itself.
I originally tried changing it into an assert in D108043,
but that showed that it triggers on e.g. https://reviews.llvm.org/D108043#2946621,
where SCEV manages to forward the store to load.
@efriedma @mkazantsev @reames does my understanding i outlied above match the current state of reality?