[PATCH] D28848: [PM] Teach LoopUnroll to update the LPM infrastructure as it unrolls loops.
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 19 03:33:53 PST 2017
chandlerc updated this revision to Diff 84953.
chandlerc added a comment.
Add some detailed comments about what is happening here. After a long
discussion with Mikhail Zolotukhin on IRC, we're both pretty sure this is in
fact the correct logic, but it is sufficiently non-obvious to be worth walking
the reader through with some precision.
Also, I've added a test case that *specifically* triggers the interesting cases
here and checks that we visit the expected loops after both full and partial
I tried to add a test case for loop peeling but currently we don't have any
support for peeling an outer loop.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 22213 bytes
Desc: not available
More information about the llvm-commits