diff options
| author | Sam Parker <sam.parker@arm.com> | 2019-09-17 09:08:05 +0000 |
|---|---|---|
| committer | Sam Parker <sam.parker@arm.com> | 2019-09-17 09:08:05 +0000 |
| commit | 95b28a4c728adfebd30406d88151fb0df51a6c5b (patch) | |
| tree | 53d157a47a38d7ef1ce0147f484122c111e33c6b /llvm/test/CodeGen/ARM | |
| parent | 1bd58870e5bd715c7bcbd1180bd50c4f4c7663ff (diff) | |
| download | bcm5719-llvm-95b28a4c728adfebd30406d88151fb0df51a6c5b.tar.gz bcm5719-llvm-95b28a4c728adfebd30406d88151fb0df51a6c5b.zip | |
[ARM] LE support in ConstantIslands
The low-overhead branch extension provides a loop-end 'LE' instruction
that performs no decrement nor compare, it just jumps backwards. This
patch modifies the constant islands pass to try to insert LE
instructions in place of a Thumb2 conditional branch, instead of
shrinking it. This only happens if a cmp can be converted to a cbn/z
and used to exit the loop.
Differential Revision: https://reviews.llvm.org/D67404
llvm-svn: 372085
Diffstat (limited to 'llvm/test/CodeGen/ARM')
| -rw-r--r-- | llvm/test/CodeGen/ARM/O3-pipeline.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/O3-pipeline.ll b/llvm/test/CodeGen/ARM/O3-pipeline.ll index 7650d682736..d6111f579a5 100644 --- a/llvm/test/CodeGen/ARM/O3-pipeline.ll +++ b/llvm/test/CodeGen/ARM/O3-pipeline.ll @@ -143,8 +143,8 @@ ; CHECK-NEXT: Thumb2 instruction size reduce pass ; CHECK-NEXT: Unpack machine instruction bundles ; CHECK-NEXT: optimise barriers pass -; CHECK-NEXT: ARM constant island placement and branch shortening pass ; CHECK-NEXT: MachineDominator Tree Construction +; CHECK-NEXT: ARM constant island placement and branch shortening pass ; CHECK-NEXT: Machine Natural Loop Construction ; CHECK-NEXT: ARM Low Overhead Loops pass ; CHECK-NEXT: Contiguously Lay Out Funclets |

