fallback: translate: ashr <N x i32>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: ashr <N x i32> M
Occurrences:3 in 3 configs, 3 test files, 3 more counted only
Snippet from:half-convert.0e2be8e485.ll (mutant of half-convert.ll) @fcvt_h_si_signext via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <4 x i32>

; Function Attrs: nounwind
define half @fcvt_h_si_signext(i16 signext %a) #0 {
  %B = ashr <4 x i32> splat (i32 1), zeroinitializer
  %1 = sitofp i16 %a to half
  store <4 x i32> %B, ptr @G.1, align 16
  ret half %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: ashr: '  %B = ashr <4 x i32> splat (i32 1), zeroinitializer' (in function: fcvt_h_si_signext)
warning: Instruction selection used fallback path for fcvt_h_si_signext

Occurrences (3):

InputFunctionConfig
half-convert-strict.04d66f306a.ll (mutant of half-convert-strict.ll)fcvt_w_h-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation -mattr=+zhinxmin -O2
half-convert.0e2be8e485.ll (mutant of half-convert.ll)fcvt_h_si_signext-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O0
scmp.23e209cb65.ll (mutant of scmp.ll)scmp.64.64-mtriple=riscv32 -mattr=+zhinx -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.