[PATCH] D33572: [PPC] Implement fast bit reverse in PPCDAGToDAGISel

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 18:50:52 PDT 2017


jtony updated this revision to Diff 104066.
jtony added reviewers: nemanjai, sfertile, syzaara, lei, stefanp, gyiu, inouehrs.
jtony removed subscribers: jtony, nemanjai.
jtony added a comment.

Re-implement this patch according to Hal's comments. 
Note this is the first patch of the CodeGen part for intrinsic llvm.bitreverse.i32
There will be a follow-up patch to implement intrinsic llvm.bitreverse.i64 
and another patch to do idiom recognition in llvm opt to generate llvm.bitreverse


https://reviews.llvm.org/D33572

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrInfo.td
  test/CodeGen/PowerPC/bitreverse.ll
  test/CodeGen/PowerPC/testBitReverse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33572.104066.patch
Type: text/x-patch
Size: 4602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170627/2597a063/attachment.bin>


More information about the llvm-commits mailing list