[PATCH] D103561: [LoopUnroll] Reorder code to max dom tree update more obvious [nfc[
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 2 15:02:03 PDT 2021
reames created this revision.
reames added a reviewer: nikic.
Herald added subscribers: zzheng, bollu, hiraditya, mcrosier.
reames requested review of this revision.
Herald added a project: LLVM.
This cleans up the unroll action into two phases. Phase 1 does the mechanical act of unrolling, and leaves all conditional branches in place. Phase 2 optimizes away some of the conditional branches and then simplifies the loop. The primary benefit of the reordering is that we can delete some special cases dom tree update logic.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103561
Files:
llvm/lib/Transforms/Utils/LoopUnroll.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103561.349392.patch
Type: text/x-patch
Size: 5170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210602/7741a1ad/attachment.bin>
More information about the llvm-commits
mailing list