[PATCH] D93766: [VP] ISD helper functions [VE] isel for vp_add, vp_and

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 08:06:13 PST 2020


simoll created this revision.
simoll added reviewers: kaz7, k-ishizaka.
simoll added projects: VE, VP.
Herald added a subscriber: hiraditya.
simoll requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This implements vp_add, vp_and for the VE target by lowering them to the VVP_* layer. We also add helper functions for VP SDNodes (isVPSDNode, getVPMaskIdx, getVPExplicitVectorLengthIdx).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93766

Files:
  llvm/include/llvm/CodeGen/ISDOpcodes.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/Target/VE/VEISelLowering.cpp
  llvm/lib/Target/VE/VVPNodes.def
  llvm/test/CodeGen/VE/Vector/vp_add.ll
  llvm/test/CodeGen/VE/Vector/vp_and.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93766.313562.patch
Type: text/x-patch
Size: 10449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201223/27d62455/attachment-0001.bin>


More information about the llvm-commits mailing list