aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2025-10-29 07:47:41 +0000
committerGitHub <noreply@github.com>2025-10-29 07:47:41 +0000
commitda15b8fc2e169788a965b08c8a7cc870072d71f3 (patch)
tree92520646d898ef1f5c179246ef64d71752d70b2b /llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
parent04e78b4ddca78a47bfafdfd99b1f4016906819b1 (diff)
downloadllvm-da15b8fc2e169788a965b08c8a7cc870072d71f3.zip
llvm-da15b8fc2e169788a965b08c8a7cc870072d71f3.tar.gz
llvm-da15b8fc2e169788a965b08c8a7cc870072d71f3.tar.bz2
[AArch64][GlobalISel] Add a constant funnel shift post-legalizer combine. (#151912)
We want to be able to produce extr instructions post-legalization. They are legal for scalars, acting as a funnel shift with a constant shift amount. Unfortunately I'm not sure if there is a way currently to represent that in the legalization rules, but it might be useful for several operations - to be able to treat and test operands with constant operands as legal or not. This adds a change to the existing matchOrShiftToFunnelShift so that AArch64 can generate such instructions post-legalization providing that the operation is scalar and the shift amount is constant.
Diffstat (limited to 'llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions