[PATCH] D61962: [WIP][LoopUnroll] Add support for loops with exiting headers and uncond latches.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 16:04:02 PDT 2019
efriedma added a comment.
If the loop is being completely unrolled, and the latch is unconditional, that implies the latch is unreachable. So you can just rewrite the terminator to an "unreachable", rather than making it connect to the exit. I think that would simplify the implementation a bit?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61962/new/
https://reviews.llvm.org/D61962
More information about the llvm-commits
mailing list