[llvm] [AArch64] Sink llvm.vscale.i32 into blocks for better isel (PR #93465)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 09:36:17 PDT 2024
paulwalker-arm wrote:
The patch looks reasonable but before accepting I would like to query why it's needed. I would expect functions to be decorated with a vscale_range attribute (clang adds `vscale_range(1,16)` when targeting SVE) which allows instcombine to remove the zero-extend and just emit a call to vscale.i64.
https://github.com/llvm/llvm-project/pull/93465
More information about the llvm-commits
mailing list