[llvm] [X86][CostModel] Add per-shape gather/scatter cost tables for AMD znver4+ (PR #199488)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 2 19:49:31 PDT 2026
================
@@ -0,0 +1,99 @@
+; End-to-end loop-vectorize decisions driven by the per-shape gather/scatter
+; cost tables (TuningPreferGSCostTable, set on znver4+). The companion
+; cost-model test masked-gather-scatter-cost-table.ll pins the individual cost
+; numbers; this test pins the resulting vectorizer decisions so cost-model
+; refactors that re-enable harmful gathers (or suppress profitable ones) are
+; caught here.
+;
+; The three cases below:
----------------
MattPD wrote:
Confirmed: The LoopVectorizer test now pins both profitable and unprofitable scatter decisions.
https://github.com/llvm/llvm-project/pull/199488
More information about the llvm-commits
mailing list