[PATCH] D102778: [VP] make getFunctionalOpcode return an Optional

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 07:45:24 PDT 2021


simoll created this revision.
simoll added reviewers: frasercrmck, rogfer01, vkmr.
simoll added a project: VP.
Herald added subscribers: dexonsmith, hiraditya.
simoll requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The operation of some VP intrinsics do/will not map to regular instruction opcodes.  Returning 'None' seems more intuitive here than 'Instruction::Call'.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102778

Files:
  llvm/include/llvm/IR/IntrinsicInst.h
  llvm/lib/CodeGen/ExpandVectorPredication.cpp
  llvm/lib/IR/IntrinsicInst.cpp
  llvm/unittests/IR/VPIntrinsicTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102778.346459.patch
Type: text/x-patch
Size: 3639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210519/2fad4a03/attachment.bin>


More information about the llvm-commits mailing list