This addresses PR31519. Clang patch: D28400.
PTAL,
Chad
Paths
| Differential D28379
[AArch64] Add support for lowering the bitreverse intrinsic to the rbit instruction. ClosedPublic Authored by mcrosier on Jan 5 2017, 1:51 PM.
Details
Diff Detail
Event Timeline
Comment Actions Add LowerINTRINSIC_WO_CHAIN or AutoUpgrade support to handle int_aarch64_rbit with bitreverse? See ARMTargetLowering::LowerINTRINSIC_WO_CHAIN mcrosier mentioned this in D28400: [AArch64] Use generic bitreverse intrinsic, rather than AArch64 specific..Jan 6 2017, 7:54 AM mcrosier marked an inline comment as done. mcrosier added inline comments. Comment Actions Add support for lowering aarch64_rbit to BITREVERSE DAG node, per Simon's comment. Thanks, Simon.
Comment Actions Ping (AArch64 contributors). This patch is in great shape thanks to Simon, but I assume he's deferring the official LGTM to a more frequent AArch64 contributor. This revision is now accepted and ready to land.Jan 10 2017, 8:35 AM Comment Actions
Thanks, Silviu! Would you mind taking a quick look at the clang side patch: D28400? Very straight forward. Closed by commit rL291575: [AArch64] Add support for lowering bitreverse to the rbit instruction. (authored by mcrosier). · Explain WhyJan 10 2017, 9:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 83818 llvm/trunk/include/llvm/IR/IntrinsicsAArch64.td
llvm/trunk/lib/IR/AutoUpgrade.cpp
llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.td
llvm/trunk/test/CodeGen/AArch64/bitreverse.ll
llvm/trunk/test/CodeGen/AArch64/rbit.ll
|