aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2019-06-25 10:45:51 +0000
committerSam Parker <sam.parker@arm.com>2019-06-25 10:45:51 +0000
commita6fd919cb3f5e72fb07b961a567c658192782e83 (patch)
treeccd6464fa10064c090220f6c43d8919bafec36cb /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parentecd9348aa176aa535cd041ab848a043a10824b9d (diff)
downloadllvm-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