fallback: translate: sub <N x i32>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sub <N x i32> M
Occurrences:3 in 3 configs, 3 test files, 9 more counted only
Snippet from:rv64zfhmin-half-convert.29b6bb9af1.ll (mutant of rv64zfhmin-half-convert.ll) @zext_fptosi via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

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

; Function Attrs: nounwind
define zeroext i32 @zext_fptosi(half %a) #0 {
  %B = sub <4 x i32> splat (i32 -2147483648), splat (i32 42)
  %1 = fptosi half %a to i32
  store <4 x i32> %B, ptr @G.4, align 16
  ret i32 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sub: '  %B = sub <4 x i32> splat (i32 -2147483648), splat (i32 42)' (in function: zext_fptosi)
warning: Instruction selection used fallback path for zext_fptosi

Occurrences (3):

InputFunctionConfig
fixed-vectors-select-addsub.b9aa68cdbc.ll (mutant of fixed-vectors-select-addsub.ll)select_addsub_v4i32_add_swapped-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
half-round-conv-sat.d4de32bdad.ll (mutant of half-round-conv-sat.ll)test_floor_ui32-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin,+zba -O2 -code-model=medium
rv64zfhmin-half-convert.29b6bb9af1.ll (mutant of rv64zfhmin-half-convert.ll)zext_fptosi-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin -O3

Generated 2026-11-29 14:49 UTC.