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

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: sext <vscale x N x i16>
Occurrences:337 in 34 configs, 23 test files
Snippet from:vnsra-vp.ll @vsra_vv_nxv1i16 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 1 x i16> @vsra_vv_nxv1i16(<vscale x 1 x i32> %a, <vscale x 1 x i16> %b, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %bext = sext <vscale x 1 x i16> %b to <vscale x 1 x i32>
  %v = ashr <vscale x 1 x i32> %a, %bext
  %vr = trunc <vscale x 1 x i32> %v to <vscale x 1 x i16>
  ret <vscale x 1 x i16> %vr
}

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: '  %bext = sext <vscale x 1 x i16> %b to <vscale x 1 x i32>' (in function: vsra_vv_nxv1i16)
warning: Instruction selection used fallback path for vsra_vv_nxv1i16

Occurrences (337) (first 15):

InputFunctionConfig
abd.llsabd_h-mtriple=riscv32 -mattr=+v,+d -verify-machineinstrs
abd.llsabd_s_promoted_ops-mtriple=riscv32 -mattr=+v,+d -verify-machineinstrs
abd.llsabd_h-mtriple=riscv32 -mattr=+v,+d,+experimental-zvabd -verify-machineinstrs
abd.llsabd_s_promoted_ops-mtriple=riscv32 -mattr=+v,+d,+experimental-zvabd -verify-machineinstrs
abd.llsabd_h-mtriple=riscv64 -mattr=+v,+d -verify-machineinstrs
abd.llsabd_s_promoted_ops-mtriple=riscv64 -mattr=+v,+d -verify-machineinstrs
abd.llsabd_h-mtriple=riscv64 -mattr=+v,+d,+experimental-zvabd -verify-machineinstrs
abd.llsabd_s_promoted_ops-mtriple=riscv64 -mattr=+v,+d,+experimental-zvabd -verify-machineinstrs
extload-truncstore.llsextload_nxv1i16_nxv1i32-mtriple=riscv32 -mattr=+d,+zvfh,+v -verify-machineinstrs
extload-truncstore.llsextload_nxv1i16_nxv1i64-mtriple=riscv32 -mattr=+d,+zvfh,+v -verify-machineinstrs
extload-truncstore.llsextload_nxv2i16_nxv2i32-mtriple=riscv32 -mattr=+d,+zvfh,+v -verify-machineinstrs
extload-truncstore.llsextload_nxv2i16_nxv2i64-mtriple=riscv32 -mattr=+d,+zvfh,+v -verify-machineinstrs
extload-truncstore.llsextload_nxv4i16_nxv4i32-mtriple=riscv32 -mattr=+d,+zvfh,+v -verify-machineinstrs
extload-truncstore.llsextload_nxv4i16_nxv4i64-mtriple=riscv32 -mattr=+d,+zvfh,+v -verify-machineinstrs
extload-truncstore.llsextload_nxv8i16_nxv8i32-mtriple=riscv32 -mattr=+d,+zvfh,+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.