[LoopSimplifyCFG] Forget loop and block dispos after merging blocks.
authorFlorian Hahn <flo@fhahn.com>
Thu, 20 Oct 2022 10:23:29 +0000 (11:23 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 20 Oct 2022 10:23:29 +0000 (11:23 +0100)
commit3a4aa24fd1b711007743c85931e50cadaa677b50
tree37af832f3402afdf0516109f8ed97e10e6aa55cd
parentbed31153b7354b27e7b5cc2bf29647c4ee8418e9
[LoopSimplifyCFG] Forget loop and block dispos after merging blocks.

This fixes another case where block and loop dispositions weren't
properly invalidate after changing the CFG.

Fixes #58489.
llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
llvm/test/Transforms/LoopSimplifyCFG/invalidate-scev-dispositions.ll