[llvm] [AArch64][LSR] Prioritize Insns in isLSRCostLess (PR #226525)
Gaƫtan Bossu via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 28 00:31:47 PDT 2026
gbossu wrote:
Sorry, not really a review :)
> the preferred addressing mode is None, meaning that LSR assumes postincrement instructions don't exist
I'm curious about the impact of this. What is a "preferred addressing mode" in LSR's view? I guess LSR will still prefer solutions that compare better in `isLSRCostLess` even though they aren't "preferred"?
I'm also wondering whether the "preferred mode" or costing should be different for scalar vs fixed vector vs scalable vector? (E.g. because SVE does not have post-incrementing ld/st instructions)
https://github.com/llvm/llvm-project/pull/226525
More information about the llvm-commits
mailing list