[llvm] [RISCV] Use vsetivli instead of `x0,x0` form to retain SEW/LMUL when AVL is imm (PR #169307)

Krste Asanovic via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 2 23:10:40 PST 2025


kasanovic wrote:

The repeated writes to vl required by the vsetivli form will likely be detrimental to OoO microarchitectures that rename vl, so should not be the default when we can use the other form that reuses existing vl value.

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


More information about the llvm-commits mailing list