[PATCH] D105351: [VP] vp.select selects lanes on condition and pivot

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 2 08:11:23 PDT 2021


simoll added a comment.

FYI This is also intended for the vp passthru idiom.
vp.select does not use the %evl like the other intrinsics. Instead, everything that is masked out comes from the second input.

  %data = vp.gather(%ptr, %mask, %evl)
  %gather_with_passthru = vp.select(%mask, %data, %pass_thru_value, %mask, %evl)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105351/new/

https://reviews.llvm.org/D105351



More information about the llvm-commits mailing list