[all-commits] [llvm/llvm-project] acc55a: [VP] Condition in vp.select|merge not a VP mask

Simon Moll via All-commits all-commits at lists.llvm.org
Tue Feb 15 09:19:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: acc55adbc1f6fbe93735afb9115214c4fe495bcb
      https://github.com/llvm/llvm-project/commit/acc55adbc1f6fbe93735afb9115214c4fe495bcb
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M llvm/include/llvm/IR/VPIntrinsics.def

  Log Message:
  -----------
  [VP] Condition in vp.select|merge not a VP mask

vp.select|merge both select lanes based on a condition mask.  Unlike
other VP intrinsics the lanes are defined where the condition mask is
false. Hence, the condition mask in vp.select|mask is not a mask in the
sense of VP intrinsics.  By doing not treating the condition mask
specially, vp.select becomes the canonical VP translation of the select
instruction.

Reviewed By: frasercrmck

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




More information about the All-commits mailing list