[PATCH] D45834: [TTI] Add a hook to TTI for choosing scalarized shuffle-reduction sequence for reduction idiom

Farhana Aleen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 25 14:41:05 PDT 2018


FarhanaAleen abandoned this revision.
FarhanaAleen added a comment.

Thanks Hideki, I will think about your suggestion.

> BTW, have you looked at ARM's last value compute experimental intrinsic: e.g., int_experimental_vector_reduce_add? If you don't mind losing IR-level optimizations for reduction last value code, this is the easiest way to do custom lowering in the Target. I don't know whether this meets your needs, but I thought it's worth mentioning.

Yes, I have. They are my fallback option :).


https://reviews.llvm.org/D45834





More information about the llvm-commits mailing list