[PATCH] D124144: [RISCV][SelectionDAG] Support VP_ADD/VP_MUL/VP_SUB mask operations

WangLian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 20:25:46 PDT 2022


Jimerlife created this revision.
Jimerlife added reviewers: craig.topper, frasercrmck, benshi001.
Jimerlife added a project: LLVM.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, ecnelises, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
Jimerlife requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, jacquesguan, MaskRay.

I abandoned D124080 <https://reviews.llvm.org/D124080>. In initial SelectionDAG, use VP_XOR replace VP_ADD/VP_MUL/VP_SUB when operand type is mask.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124144

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/test/CodeGen/RISCV/fixed-vectors-vadd-vp-mask.ll
  llvm/test/CodeGen/RISCV/fixed-vectors-vmul-vp-mask.ll
  llvm/test/CodeGen/RISCV/fixed-vectors-vsub-vp-mask.ll
  llvm/test/CodeGen/RISCV/vadd-vp-mask.ll
  llvm/test/CodeGen/RISCV/vmul-vp-mask.ll
  llvm/test/CodeGen/RISCV/vsub-vp-mask.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124144.424087.patch
Type: text/x-patch
Size: 21065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220421/fa8cd2fd/attachment.bin>


More information about the llvm-commits mailing list