[PATCH] D123336: [RISCV] Always select (and (srl X, C), Mask) as (srli (slli X, C2), C3).

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 09:09:36 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1903b9915456: [RISCV] Always select (and (srl X, C), Mask) as (srli (slli X, C2), C3). (authored by craig.topper).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123336

Files:
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  llvm/test/CodeGen/RISCV/div-by-constant.ll
  llvm/test/CodeGen/RISCV/div.ll
  llvm/test/CodeGen/RISCV/rv32zbb-zbp-zbkb.ll
  llvm/test/CodeGen/RISCV/rv32zbs.ll
  llvm/test/CodeGen/RISCV/rv32zbt.ll
  llvm/test/CodeGen/RISCV/rv64zbs.ll
  llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123336.421545.patch
Type: text/x-patch
Size: 16816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220408/202e3864/attachment.bin>


More information about the llvm-commits mailing list