fallback: translate: icmp i16

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: icmp i16
Occurrences:19 in 14 configs, 10 test files
Snippet from:double-imm.ll @negzero_sel via llvm-extract
Config:-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define dso_local double @negzero_sel(i16 noundef %a, double noundef %d) #0 {
entry:
  %tobool.not = icmp eq i16 %a, 0
  %d. = select i1 %tobool.not, double %d, double -0.000000e+00
  ret double %d.
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: icmp: '  %tobool.not = icmp eq i16 %a, 0' (in function: negzero_sel)
warning: Instruction selection used fallback path for negzero_sel

Occurrences (19) (first 15):

InputFunctionConfig
double-imm.llnegzero_sel-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-imm.llnegzero_sel-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
double-imm.39add36b5d.ll (mutant of double-imm.ll)negzero_sel-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
double-imm.76c6df774a.ll (mutant of double-imm.ll)negzero_sel-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-select-icmp.86e024a545.ll (mutant of double-select-icmp.ll)select_icmp_ule-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-select-icmp.b1feed595a.ll (mutant of double-select-icmp.ll)select_icmp_ule-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
float-convert-strict.5f2750a10e.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
float-convert-strict.d27543ff5b.ll (mutant of float-convert-strict.ll)fcvt_s_wu_i16-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
float-select-icmp.67ea53227f.ll (mutant of float-select-icmp.ll)select_icmp_ule-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64
float-select-icmp.6c06db87da.ll (mutant of float-select-icmp.ll)select_icmp_ule-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32
half-select-icmp.0434664a66.ll (mutant of half-select-icmp.ll)select_icmp_ule-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64
half-select-icmp.1f65f0d3f0.ll (mutant of half-select-icmp.ll)select_icmp_ule-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi=ilp32
half-select-icmp.896bb2ccac.ll (mutant of half-select-icmp.ll)select_icmp_ule-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi ilp32
half-select-icmp.c02a08c072.ll (mutant of half-select-icmp.ll)select_icmp_ule-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi=lp64
rv64d-double-convert-strict.1009386a5c.ll (mutant of rv64d-double-convert-strict.ll)zext_fptoui-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation

Generated 2026-11-29 14:49 UTC.