[PATCH] D93093: [VE] Add logical vector intrinsic instructions

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 01:25:01 PST 2020


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

Add andm, orm, xorm, eqvm, nndm, negm, pcvm, lzvm, and tovm intrinsic
instructions, a few pseudo instructions to expand logical intrinsic
using VM512, a mechnism to expand such pseudo instructions, and
regression tests.  Also, assign vector mask types and vector mask
register classes correctly.  This is required to use VM512 registers
as function arguments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93093

Files:
  llvm/include/llvm/IR/IntrinsicsVEVL.gen.td
  llvm/lib/Target/VE/VEISelLowering.cpp
  llvm/lib/Target/VE/VEInstrInfo.cpp
  llvm/lib/Target/VE/VEInstrIntrinsicVL.gen.td
  llvm/lib/Target/VE/VEInstrVec.td
  llvm/test/CodeGen/VE/VELIntrinsics/andm.ll
  llvm/test/CodeGen/VE/VELIntrinsics/eqvm.ll
  llvm/test/CodeGen/VE/VELIntrinsics/lzvm.ll
  llvm/test/CodeGen/VE/VELIntrinsics/negm.ll
  llvm/test/CodeGen/VE/VELIntrinsics/nndm.ll
  llvm/test/CodeGen/VE/VELIntrinsics/orm.ll
  llvm/test/CodeGen/VE/VELIntrinsics/pcvm.ll
  llvm/test/CodeGen/VE/VELIntrinsics/tovm.ll
  llvm/test/CodeGen/VE/VELIntrinsics/xorm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93093.311141.patch
Type: text/x-patch
Size: 19714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201211/daa7612b/attachment.bin>


More information about the llvm-commits mailing list