[PATCH] D24203: [LoopUnroll] Properly update loop-info when cloning prologues and epilogues.
Michael Zolotukhin via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 2 13:05:45 PDT 2016
mzolotukhin created this revision.
mzolotukhin added reviewers: chandlerc, sanjoy, hfinkel.
mzolotukhin added subscribers: silvas, llvm-commits.
When cloning blocks for prologue/epilogue we need to replicate the loop
structure from the original loop. It wasn't a problem for the innermost
loops, but it led to an incorrect loop info when we unrolled a loop with
a child loop - in this case created prologue-loop had a child loop, but
loop info didn't reflect that.
This fixes PR28888.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4726 bytes
Desc: not available
More information about the llvm-commits