[PATCH] D131378: [LoongArch] Add codegen support for bitreverse

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 9 09:08:13 PDT 2022


xen0n updated this revision to Diff 451181.
xen0n added a comment.

Prefer simple shifts over byteswapping for bitreverse.i16, per @SixWeining's suggestion


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131378/new/

https://reviews.llvm.org/D131378

Files:
  llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
  llvm/lib/Target/LoongArch/LoongArchISelLowering.h
  llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
  llvm/test/CodeGen/LoongArch/bitreverse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131378.451181.patch
Type: text/x-patch
Size: 9941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220809/ab25dae3/attachment.bin>


More information about the llvm-commits mailing list