aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-06-03 10:05:12 -0700
committerPhilip Reames <listmail@philipreames.com>2021-06-03 10:19:56 -0700
commitbb5e1c6dcb78435f8cdcaa9eb1c5af39244df491 (patch)
treef655290d2fe4238bf8d071e9cfef410af7d092d3 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentc8279e8acd3057c935592928c7b933411b60ac05 (diff)
downloadllvm-bb5e1c6dcb78435f8cdcaa9eb1c5af39244df491.zip
llvm-bb5e1c6dcb78435f8cdcaa9eb1c5af39244df491.tar.gz
llvm-bb5e1c6dcb78435f8cdcaa9eb1c5af39244df491.tar.bz2
[LoopUnroll] Reorder code to max dom tree update more obvious [nfc]
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. Differential Revision: https://reviews.llvm.org/D103561
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions