aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-06-30 17:57:07 +0000
committerAnna Thomas <anna@azul.com>2017-06-30 17:57:07 +0000
commite5e5e59d8bbe7ddb82b06e9e71a97e1a578467a1 (patch)
tree705ecf8d2bc83068ffb2c694eab83d57f6b2b2a1 /llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
parentd3213c792e1d427ab1c9bb181c1f06596bd352ab (diff)
downloadllvm-e5e5e59d8bbe7ddb82b06e9e71a97e1a578467a1.zip
llvm-e5e5e59d8bbe7ddb82b06e9e71a97e1a578467a1.tar.gz
llvm-e5e5e59d8bbe7ddb82b06e9e71a97e1a578467a1.tar.bz2
[RuntimeUnrolling] Add logic for loops with multiple exit blocks
Summary: Runtime unrolling is done for loops with a single exit block and a single exiting block (and this exiting block should be the latch block). This patch adds logic to support unrolling in the presence of multiple exit blocks (which also means multiple exiting blocks). Currently this is under an off-by-default option and is supported when epilog code is generated. Support in presence of prolog code will be in a future patch (we just need to add more tests, and update comments). This patch is essentially an implementation patch. I have not added any heuristic (in terms of branches added or code size) to decide when this should be enabled. Reviewers: mkuper, sanjoy, reames, evstupac Reviewed by: reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D33001 llvm-svn: 306846
Diffstat (limited to 'llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp')
0 files changed, 0 insertions, 0 deletions