This patch tries to improve readability and maintenance of createVectorizedLoopSkeleton by reorganizing some lines, updating some of the comments and breaking it up into smaller logical units.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This refactoring looks reasonable to me. I've left some comments inline.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | ||
---|---|---|
670 | nit: return it. | |
673 | Perhaps the comment could be updated for clarity as: | |
679 | s/branchs/branches | |
3066 | Should we assert if OrigLoopID is null? |
nit: return it.