fallback: translate: mul i16
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: mul i16 M |
| Occurrences: | 6 in 6 configs, 5 test files, 29 more counted only |
| Snippet from: | calllowering-zfinx-zhinx.dd6846ca71.ll (mutant of calllowering-zfinx-zhinx.ll) @return_zero via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zhinx,+zvkb -O3 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i16
define float @return_zero() {
%B = mul i16 1, 0
store i16 %B, ptr @G.3, align 2
ret float 0.000000e+00
}
Reproduce:
llc -mtriple=riscv32 -mattr=+zhinx,+zvkb -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zhinx,+zvkb -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: mul: ' %B = mul i16 1, 0' (in function: return_zero)
warning: Instruction selection used fallback path for return_zero
Occurrences (6):
| Input | Function | Config |
|---|
| calllowering-zfinx-zhinx.dd6846ca71.ll (mutant of calllowering-zfinx-zhinx.ll) | return_zero | -mtriple=riscv32 -mattr=+zhinx,+zvkb -O3 -verify-machineinstrs |
| sadd_sat_plus.831830b40d.ll (mutant of sadd_sat_plus.ll) | func16 | -mtriple=riscv64 -mattr=+zbb,+zdinx -O2 -verify-machineinstrs |
| sadd_sat_plus.fd95645edb.ll (mutant of sadd_sat_plus.ll) | func16 | -mtriple=riscv32 -mattr=+m,+zdinx -O2 -code-model=medium -verify-machineinstrs |
| ssub_sat_plus.1e3f1b2358.ll (mutant of ssub_sat_plus.ll) | func16 | -mtriple=riscv64 -mattr=+m,+zdinx -O3 -verify-machineinstrs |
| uadd_sat_plus.f9451583fe.ll (mutant of uadd_sat_plus.ll) | func16 | -mtriple=riscv64 -mattr=+m,+zfinx,+zbs -O0 -verify-machineinstrs |
| zicond-fp-select-zfinx.ce333e534d.ll (mutant of zicond-fp-select-zfinx.ll) | select_f64_i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+xtheadba,+zba -O0 |
Generated 2026-11-29 14:49 UTC.