[PATCH] D93470: [VP] Binary floating-point intrinsics.

David Majnemer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 7 00:19:46 PDT 2021


majnemer added inline comments.


================
Comment at: llvm/docs/LangRef.rst:18059
+      %t = fadd <4 x float> %a, %b
+      %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef
+
----------------
Would it be more general/useful to have the intrinsics take an alternative value just like llvm.masked.load and its passthru operand? You would get identical behavior to your proposal by setting this passthru to undef.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93470



More information about the llvm-commits mailing list