[PATCH] D99637: [RISCV] Add isel patterns to select vsub_vx intrinsic to vadd.vi if the immediate is small enough.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 21:51:32 PDT 2021


craig.topper updated this revision to Diff 334341.
craig.topper added a comment.
Herald added a subscriber: hiraditya.

Upload the patterns too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99637

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoV.td
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/test/CodeGen/RISCV/rvv/vsub-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vsub-rv64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99637.334341.patch
Type: text/x-patch
Size: 46034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/208be6f6/attachment.bin>


More information about the llvm-commits mailing list