diff options
author | Sam Parker <sam.parker@arm.com> | 2019-06-25 10:45:51 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2019-06-25 10:45:51 +0000 |
commit | a6fd919cb3f5e72fb07b961a567c658192782e83 (patch) | |
tree | ccd6464fa10064c090220f6c43d8919bafec36cb /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | ecd9348aa176aa535cd041ab848a043a10824b9d (diff) | |
download | llvm-a6fd919cb3f5e72fb07b961a567c658192782e83.zip llvm-a6fd919cb3f5e72fb07b961a567c658192782e83.tar.gz llvm-a6fd919cb3f5e72fb07b961a567c658192782e83.tar.bz2 |
[ARM] DLS/LE low-overhead loop code generation
Introduce three pseudo instructions to be used during DAG ISel to
represent v8.1-m low-overhead loops. One maps to set_loop_iterations
while loop_decrement_reg is lowered to two, so that we can separate
the decrement and branching operations. The pseudo instructions are
expanded pre-emission, where we can still decide whether we actually
want to generate a low-overhead loop, in a new pass:
ARMLowOverheadLoops. The pass currently bails, reverting to an sub,
icmp and br, in the cases where a call or stack spill/restore happens
between the decrement and branching instructions, or if the loop is
too large.
Differential Revision: https://reviews.llvm.org/D63476
llvm-svn: 364288
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions