diff options
author | Hari Limaye <hari.limaye@arm.com> | 2024-07-08 14:32:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-08 14:32:08 +0100 |
commit | 83b01aaf51072a07261ee2e5fc14102f71273bc0 (patch) | |
tree | 586ee3b3ba0e7ace421254e71e3037065a8f4797 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 4c47b41771799cd630ee3e6b42593ac59d7593eb (diff) | |
download | llvm-83b01aaf51072a07261ee2e5fc14102f71273bc0.zip llvm-83b01aaf51072a07261ee2e5fc14102f71273bc0.tar.gz llvm-83b01aaf51072a07261ee2e5fc14102f71273bc0.tar.bz2 |
[LoopIdiom] Support 'shift until less-than' idiom (#95002)
The current loop idiom code for recognising and inserting a CTLZ
intrinsic does not support loops where the loopback control is based on
an unsigned less-than condition. This patch adds support for recognising
these loops and inserting a CTLZ intrinsic.
Fixes the missed optimization cases in #51064
---------
Co-authored-by: David Sherwood <david.sherwood@arm.com>
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions