fallback: translate: sext <vscale x N x i64>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: sext <vscale x N x i64>
Occurrences:24 in 8 configs, 2 test files
Snippet from:vaadd-sdnode.ll @vaadd_vv_nxv8i64_floor via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x i64> @vaadd_vv_nxv8i64_floor(<vscale x 8 x i64> %x, <vscale x 8 x i64> %y) {
  %xzv = sext <vscale x 8 x i64> %x to <vscale x 8 x i128>
  %yzv = sext <vscale x 8 x i64> %y to <vscale x 8 x i128>
  %add = add nsw <vscale x 8 x i128> %xzv, %yzv
  %div = ashr <vscale x 8 x i128> %add, splat (i128 1)
  %ret = trunc <vscale x 8 x i128> %div to <vscale x 8 x i64>
  ret <vscale x 8 x i64> %ret
}

Reproduce:

llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sext: '  %xzv = sext <vscale x 8 x i64> %x to <vscale x 8 x i128>' (in function: vaadd_vv_nxv8i64_floor)
warning: Instruction selection used fallback path for vaadd_vv_nxv8i64_floor

Occurrences (24) (first 15):

InputFunctionConfig
abd.llsabd_d-mtriple=riscv32 -mattr=+v,+d -verify-machineinstrs
abd.llsabd_d-mtriple=riscv32 -mattr=+v,+d,+experimental-zvabd -verify-machineinstrs
abd.llsabd_d-mtriple=riscv64 -mattr=+v,+d -verify-machineinstrs
abd.llsabd_d-mtriple=riscv64 -mattr=+v,+d,+experimental-zvabd -verify-machineinstrs
vaadd-sdnode.llvaadd_vv_nxv8i64_floor-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vaadd-sdnode.llvaadd_vx_nxv8i64_floor-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vaadd-sdnode.llvaadd_vv_nxv8i64_ceil-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vaadd-sdnode.llvaadd_vx_nxv8i64_ceil-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vaadd-sdnode.llvaadd_vv_nxv8i64_floor-mtriple=riscv32 -mattr=+v,+avoid-vxrm -verify-machineinstrs
vaadd-sdnode.llvaadd_vx_nxv8i64_floor-mtriple=riscv32 -mattr=+v,+avoid-vxrm -verify-machineinstrs
vaadd-sdnode.llvaadd_vv_nxv8i64_ceil-mtriple=riscv32 -mattr=+v,+avoid-vxrm -verify-machineinstrs
vaadd-sdnode.llvaadd_vx_nxv8i64_ceil-mtriple=riscv32 -mattr=+v,+avoid-vxrm -verify-machineinstrs
vaadd-sdnode.llvaadd_vv_nxv8i64_floor-mtriple=riscv64 -mattr=+v -verify-machineinstrs
vaadd-sdnode.llvaadd_vx_nxv8i64_floor-mtriple=riscv64 -mattr=+v -verify-machineinstrs
vaadd-sdnode.llvaadd_vv_nxv8i64_ceil-mtriple=riscv64 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.