[PATCH] D122458: [RISCV][WIP] Enable TargetLowering::hasBitTest for masks that fit in ANDI.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 27 23:24:01 PDT 2022


craig.topper updated this revision to Diff 418495.
craig.topper added a comment.

Move tests to new bittest.ll. Add tests of more bit positions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122458

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/test/CodeGen/RISCV/bittest.ll
  llvm/test/CodeGen/RISCV/rv32zbs.ll
  llvm/test/CodeGen/RISCV/rv64zbs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122458.418495.patch
Type: text/x-patch
Size: 11959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220328/d6c553e5/attachment.bin>


More information about the llvm-commits mailing list