[PATCH] D154157: [LV] Cost model for out-of-loop reductions
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 6 11:19:41 PDT 2023
anna added a comment.
Our X86 results are in. Over 244 workloads, the geomean changes by about ~0.4%. Looking at individual workloads, there are no major gains or regressions in large applications (unfortunately, we cannot share the exact benchmark names publicly). However, we do see big gains in 3 of these workloads where it performs a floating point minimum/maximum reduction over a float array of 3 elements (without this change we were vectorizing it).
Overall, I think the change is still reasonable to have since we now account for out of loop reductions more accurately.
Also, based on the RISCV and ARM results, we can see the minimum trip count is more reasonable numbers (4 or 8 for both targets). I will update the rebased patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154157/new/
https://reviews.llvm.org/D154157
More information about the llvm-commits
mailing list