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

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 19 01:23:02 PDT 2021


simoll added inline comments.


================
Comment at: llvm/docs/LangRef.rst:17384
+      %r = call <4 x float> @llvm.vp.fadd.v4f32(<4 x float> %a, <4 x float> %b, <4 x i1> %mask, i32 %evl)
+      ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r
+
----------------
frasercrmck wrote:
> I realise this inherits from the documentation of the integer intrinsics, but I was wondering if this can be expressed as being equivalent to `<%evl x float>` in the following example. Would that be any clearer that the intrinsic is conceptually working on vectors of length `%evl` isn't actually executing the lanes above `%evl` (as in `%t` below)?
I see what are you getting at with this. I am not sure that introducing novel syntax only for explaining things is really helpful. My take here is that most aren't used to the `%evl` concept - but it is not a complicated thing per se.


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