[PATCH] LoopUnroll: Create sub-loops in LoopInfo

Duncan P. N. Exon Smith dexonsmith at apple.com
Mon Oct 6 15:34:09 PDT 2014


This fixes the crasher in PR20987 by creating sub-loop info in
-loop-unroll.

While the attached patch adds the missing data to `LoopInfo`, I'm not
sure what the contract is with SCEV (which can have a reference to
`LoopInfo`).  Have I created a new problem, or does this look okay?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-LoopUnroll-Create-sub-loops-in-LoopInfo.patch
Type: application/octet-stream
Size: 3725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141006/04e845fa/attachment.obj>


More information about the llvm-commits mailing list