[PATCH] D108344: [AArch64][GlobalISel] Legalize non-register-sized scalar G_BITREVERSE
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 18 16:51:34 PDT 2021
paquette created this revision.
paquette added reviewers: aemerson, jroelofs.
Herald added subscribers: hiraditya, kristof.beyls, rovka.
paquette requested review of this revision.
Herald added a project: LLVM.
Clamp types to [s32, s64] and make them a power of 2.
This matches SDAG's behaviour.
https://godbolt.org/z/vTeGqf4vT
https://reviews.llvm.org/D108344
Files:
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-bitreverse.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108344.367361.patch
Type: text/x-patch
Size: 4293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/bfd1d4bb/attachment.bin>
More information about the llvm-commits
mailing list