[all-commits] [llvm/llvm-project] ea2cdb: [VP] Declaration and docs for vp.select intrinsic

Simon Moll via All-commits all-commits at lists.llvm.org
Thu Sep 2 02:18:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea2cdbf5e655ce157c2224f7d427229be55551cc
      https://github.com/llvm/llvm-project/commit/ea2cdbf5e655ce157c2224f7d427229be55551cc
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/VPIntrinsics.def
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [VP] Declaration and docs for vp.select intrinsic

llvm.vp.select extends the regular select instruction with an explicit
vector length (%evl).

All lanes with indexes at and above %evl are
undefined. Lanes below %evl are taken from the first input where the
mask is true and from the second input otherwise.

Reviewed By: rogfer01

Differential Revision: https://reviews.llvm.org/D105351




More information about the All-commits mailing list