The attached testcase crashes without the patch (Not the same accesses
in the same order).
When we move instructions before another instruction, we also need to
update the memory accesses corresponding to it.
Paths
| Differential D109197
[LoopPredication] Fix MemorySSA crash in predicateLoopExits ClosedPublic Authored by anna on Sep 2 2021, 2:28 PM.
Details Summary The attached testcase crashes without the patch (Not the same accesses When we move instructions before another instruction, we also need to
Diff Detail
Event TimelineComment Actions I'll defer to @asbirlea. This looks slightly complicated for what should be a simple update, but she'll know if there's a cleaner way. This revision is now accepted and ready to land.Sep 2 2021, 5:05 PM This revision was landed with ongoing or failed builds.Sep 2 2021, 6:26 PM Closed by commit rGf661ce209f19: [LoopPredication] Fix MemorySSA crash in predicateLoopExits (authored by anna). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 370412 llvm/lib/Transforms/Scalar/LoopPredication.cpp
llvm/test/Transforms/LoopPredication/predicate-exits.ll
|
clang-format: please reformat the code