fallback: translate: mul <N x i32>

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

Snippet:

; Function Attrs: nounwind
define half @half_positive_zero(ptr %pf) #0 {
  %B = mul <4 x i32> splat (i32 1), splat (i32 65536)
  store <4 x i32> %B, ptr poison, align 16
  ret half 0.000000e+00
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-vnmsac-vp.1ba3eb19e3.ll (mutant of fixed-vectors-vnmsac-vp.ll)vnmsac_vv_nxv4i32_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zhinx -O3
half-imm.a4281394de.ll (mutant of half-imm.ll)half_positive_zero-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O0
rv64f-float-convert.d92107c7fd.ll (mutant of rv64f-float-convert.ll)sitofp_aext_i32_to_f32-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small
rvp-simd-64.1c56d80e.9a3610a103.ll (mutant of rvp-simd-64.1c56d80e.ll)test_padd_w-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O0 -code-model=small
zibi.bb4ef6e38e.ll (mutant of zibi.ll)test_bne_neg-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-zibi,+zfinx -O1

Generated 2026-11-29 14:49 UTC.