[PATCH] D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb

Yingwei Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 01:52:42 PDT 2023


dtcxzyw updated this revision to Diff 544654.
dtcxzyw added a comment.

Tune instseq for `ctpop_i32/64_ugt_one`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156390

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/test/CodeGen/RISCV/rv32zbb.ll
  llvm/test/CodeGen/RISCV/rv64zbb.ll
  llvm/test/CodeGen/RISCV/rvv/ctpop-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156390.544654.patch
Type: text/x-patch
Size: 29391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230727/2922a0d8/attachment.bin>


More information about the llvm-commits mailing list