[PATCH] D94628: [RISCV] Add implementation of targetShrinkDemandeConstant to optimize AND immediates.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 13:55:14 PST 2021


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

-Add support for forming 32 signed immediates as well. That also had good test coverage.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94628

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/test/CodeGen/RISCV/copysign-casts.ll
  llvm/test/CodeGen/RISCV/frame-info.ll
  llvm/test/CodeGen/RISCV/half-bitmanip-dagcombines.ll
  llvm/test/CodeGen/RISCV/rv64Zbp.ll
  llvm/test/CodeGen/RISCV/srem-lkk.ll
  llvm/test/CodeGen/RISCV/srem-vector-lkk.ll
  llvm/test/CodeGen/RISCV/stack-realignment-with-variable-sized-objects.ll
  llvm/test/CodeGen/RISCV/vararg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94628.316509.patch
Type: text/x-patch
Size: 27776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210113/659cda1e/attachment-0001.bin>


More information about the llvm-commits mailing list