fallback: translate: mul i32

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: mul i32 M
Occurrences:9 in 8 configs, 8 test files, 166 more counted only
Snippet from:half-imm.963bf34c7e.ll (mutant of half-imm.ll) @undef via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define half @undef() #0 {
  %B = mul i32 0, 0
  store i32 %B, ptr poison, align 4
  ret half undef
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (9):

InputFunctionConfig
abdu-neg.40b9c964ea.ll (mutant of abdu-neg.ll)abd_ext_i32_undef-mtriple=riscv32 -mattr=+zbb,+zfinx -O1 -verify-machineinstrs
float-intrinsics.8ccc4ae851.ll (mutant of float-intrinsics.ll)isnan_fpclass-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O2
fp128.a51f4c6a5d.ll (mutant of fp128.ll)ldexp_f128-mtriple=riscv32 -verify-machineinstrs -mattr=+zve32x,+zdinx -O1
half-imm.963bf34c7e.ll (mutant of half-imm.ll)undef-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O1
machine-outliner-throw.c609939074.ll (mutant of machine-outliner-throw.ll)func1-verify-machineinstrs -enable-machine-outliner -mtriple=riscv64 -mattr=+m,+zfinx -O0
rv32zba.490a15ba3d.ll (mutant of rv32zba.ll)mul260-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
rv32zba.490a15ba3d.ll (mutant of rv32zba.ll)mul_neg2-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
sadd_sat_plus.e57887541a.ll (mutant of sadd_sat_plus.ll)func32-mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs
xqcia.7d49c10bc0.ll (mutant of xqcia.ll)shlusat-mtriple=riscv32 -verify-machineinstrs -mattr=+zicond,+zdinx -O2

Generated 2026-11-29 14:49 UTC.