[PATCH] D153547: [CostModel] Use min/max intrinsics for vecreduce.min/max costs

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 13:38:13 PDT 2023


anna added a comment.

Not to hijack this patch, but I was experimenting a similar patch for Loop vectorizer when trip count of the loop is low (when we vectorize it, we get regressions since we do not consider out-of-loop reduction cost in LoopVectorizer). The plan is to add a TTIHook, I'll put the change up for review.


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

https://reviews.llvm.org/D153547



More information about the llvm-commits mailing list