fallback: translate: ashr <vscale x N x i1>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: ashr <vscale x N x i1> M
Occurrences:7 in 7 configs, 7 test files, 97 more counted only
Snippet from:vsext-vp-mask.01b4cdcefa.ll (mutant of vsext-vp-mask.ll) @vsext_nxv2i1_nxv2i16_unmasked via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+zvfh -O1 -code-model=medium -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 2 x i16> @vsext_nxv2i1_nxv2i16_unmasked(<vscale x 2 x i1> %a, i32 zeroext %vl) {
  %A = alloca <vscale x 2 x i1>, align 1
  store <vscale x 2 x i1> poison, ptr %A, align 1
  %B = ashr <vscale x 2 x i1> %a, splat (i1 true)
  %v = sext <vscale x 2 x i1> %a to <vscale x 2 x i16>
  store <vscale x 2 x i1> %B, ptr %A, align 1
  ret <vscale x 2 x i16> %v
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: ashr: '  %B = ashr <vscale x 2 x i1> %a, splat (i1 true)' (in function: vsext_nxv2i1_nxv2i16_unmasked)
warning: Instruction selection used fallback path for vsext_nxv2i1_nxv2i16_unmasked

Occurrences (7):

InputFunctionConfig
vlseg-rv64.7bdf066474.ll (mutant of vlseg-rv64.ll)test_vlseg5_mask_nxv1f16_triscv.vector.tuple_nxv2i8_5t-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -O2
vluxseg-rv32.423f4e2215.ll (mutant of vluxseg-rv32.ll)test_vluxseg6_mask_nxv4i8_triscv.vector.tuple_nxv4i8_6t_nxv4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zcb -O1
vmsif.cc015382d7.ll (mutant of vmsif.ll)intrinsic_vmsif_mask_m_nxv2i1_nxv2i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfa,+zve32x -O1
vreductions-fp-vp.e197cbec17.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv64f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
vreductions-mask.e717cb1d82.ll (mutant of vreductions-mask.ll)vreduce_smax_nxv16i1-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+d,+f -O0 -code-model=small
vsext-vp-mask.01b4cdcefa.ll (mutant of vsext-vp-mask.ll)vsext_nxv2i1_nxv2i16_unmasked-mtriple=riscv32 -mattr=+v,+zvfh -O1 -code-model=medium -verify-machineinstrs
vsoxei.753faf807a.ll (mutant of vsoxei.ll)intrinsic_vsoxei_mask_v_nxv8i32_nxv8i32_nxv8i8-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -O0

Generated 2026-11-29 14:49 UTC.