This is so it can be shared with other passes that may need
to do the same thing. For example unroll and jam in D41953.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I think this is a reasonable code movement to make things slightly more modular. LGTM, but please wait with committing till next week, so other people have a chance to chime in.
lib/Transforms/Utils/LoopUnroll.cpp | ||
---|---|---|
255 ↗ | (On Diff #143288) | Could you add a comment here summarizing which simplifications are done here? |
822 ↗ | (On Diff #143288) | I think this comment is stale now |
Comment Actions
Thanks Florian
This is just an NFC. Nothing should change.
lib/Transforms/Utils/LoopUnroll.cpp | ||
---|---|---|
822 ↗ | (On Diff #143288) | I've reworded it a little, but I think it's mostly fine. I like that it explains that the code is now sensible and we can do normal stuff to it. |
llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp | ||
---|---|---|
291 | Any future patch to perform LoopEarlyCSE as mentioned in the TODO note? |
Any future patch to perform LoopEarlyCSE as mentioned in the TODO note?