[llvm] [X86][LoopVectorize] Enable MaximizeBandwidth by default on X86 (PR #201666)

Sumukh J Bharadwaj via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 03:31:51 PDT 2026


amd-subharad wrote:

@Andarwinux Thanks for the reduced case. It was TTI under-pricing AVX-512 predicate mask expansion (kshiftr fanout when the data legalizes into more parts than the k-register mask), so MaxBW over-widened to VF64. I've added a targeted TTI charge for it. your loop now vectorizes to VF16 with no kshiftr expansion.

https://github.com/llvm/llvm-project/pull/201666


More information about the llvm-commits mailing list