[PATCH] D111529: Specify Clang vector builtins.

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 13 13:40:35 PDT 2021


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: clang/docs/LanguageExtensions.rst:552
+operation(x, y) as pairwise tree reduction to the input. The pairs are formed
+by concatenating both inputs and pairing adjacent elements.
+
----------------
craig.topper wrote:
> fhahn wrote:
> > craig.topper wrote:
> > > I'm not sure I understand what is being concatenated here.
> > I tried to spell it out more clearly. I'm still not sure if that spells it out as clearly as possibly and I'd appreciate any suggestions on how to improve the wording.
> The input is a single vector. I'm not understanding where we get a second vector to concatenate.
Oh yes, now I see where the confusion was coming from. I was thinking about the reduction tree and how the input is broken up. Sorry for the confusing wording. I gave it another try, should be much simpler again now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111529



More information about the cfe-commits mailing list