[PATCH] D43876: [LoopUnroll] Peel off iterations if it makes conditions true/false.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 28 09:41:36 PST 2018
fhahn created this revision.
fhahn added reviewers: mkuper, mkazantsev, efriedma.
If the loop body contains conditions of the form IndVar < #constant, we
can remove the checks by peeling off #constant iterations. This patch
initially starts out with supporting very simple conditions. It can be
made more powerful in follow-up commits.
This improves codegen for PR34364.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6095 bytes
Desc: not available
More information about the llvm-commits