When LoopVersioning clones a loop, the original and cloned loops share the
same exit block. To make dominator tree in sync with CFG the pass sets the
immediate dominator of the exit block to memcheck block. It is however
incorrect if the versioned loop already shares the exit block with another
loop. With this change the dominator is changed only if the original loop
preheader dominates the exit block.
Details
Details
- Reviewers
silviu.baranga anemet
Diff Detail
Diff Detail
- Build Status
Buildable 2274 Build 2274: arc lint + arc unit
Event Timeline
Comment Actions
I believe that the change from today to require loop-simplify form for versioning (D27469) should fix this too. Can you please check?