This allows selection like: eor w0, w1, w2, ror #8
Saves 500 bytes on ClamAV -Os, which is 0.1%.
Paths
| Differential D109206
[AArch64][GlobalISel] Support for folding G_ROTR as shifted operands. ClosedPublic Authored by aemerson on Sep 2 2021, 4:58 PM.
Details Summary This allows selection like: eor w0, w1, w2, ror #8 Saves 500 bytes on ClamAV -Os, which is 0.1%.
Diff Detail
Event TimelineHerald added subscribers: hiraditya, kristof.beyls, rovka. · View Herald TranscriptSep 2 2021, 4:58 PM This revision is now accepted and ready to land.Sep 2 2021, 5:32 PM This revision was landed with ongoing or failed builds.Sep 2 2021, 9:37 PM Closed by commit rG6d9505b8e010: [AArch64][GlobalISel] Support for folding G_ROTR as shifted operands. (authored by aemerson). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 370479 llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-rotate.mir
|