[PATCH] D109206: [AArch64][GlobalISel] Support for folding G_ROTR as shifted operands.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 2 16:58:24 PDT 2021
aemerson created this revision.
aemerson added a reviewer: paquette.
aemerson added a project: LLVM.
Herald added subscribers: hiraditya, kristof.beyls, rovka.
aemerson requested review of this revision.
This allows selection like: `eor w0, w1, w2, ror #8`
Saves 500 bytes on ClamAV -Os, which is 0.1%.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109206
Files:
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-rotate.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109206.370449.patch
Type: text/x-patch
Size: 5142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/5017693b/attachment.bin>
More information about the llvm-commits
mailing list