LoopSimplifyCFG, being a loop pass, needs to preserve scalar
evolution. This invalidates SE for the loops altered during
block merging.
Needs https://reviews.llvm.org/D48202 for the test to cause
a validation failure.
Paths
| Differential D48258
[LoopSimplifyCFG] Preserve Scalar Evolution in LoopSimplifyCFG ClosedPublic Authored by dmgreen on Jun 16 2018, 3:06 PM.
Details Summary LoopSimplifyCFG, being a loop pass, needs to preserve scalar Needs https://reviews.llvm.org/D48202 for the test to cause
Diff Detail
Event TimelineComment Actions Perhaps a more accurate description is "Invalidate ScEv in LoopSimplifyCFG" (when merging blocks). This revision is now accepted and ready to land.Jun 18 2018, 3:02 PM Closed by commit rL335036: [LoopSimplifyCFG] Invalidate SCEV in LoopSimplifyCFG (authored by dmgreen). · Explain WhyJun 19 2018, 2:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 151882 llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
llvm/trunk/test/Transforms/LoopSimplifyCFG/scev.ll
|