fallback: translate: icmp <N x i32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: icmp <N x i32> M
Occurrences:16 in 16 configs, 16 test files, 194 more counted only
Snippet from:half-select-icmp.72fcf60aec.ll (mutant of half-select-icmp.ll) @select_icmp_slt_one via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zbs -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define half @select_icmp_slt_one(i32 signext %a) {
  %C = icmp sle <4 x i32> zeroinitializer, splat (i32 65536)
  %1 = icmp slt i32 %a, 1
  %2 = select i1 %1, half 1.000000e+00, half 0.000000e+00
  store <4 x i1> %C, ptr poison, align 1
  ret half %2
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: icmp: '  %C = icmp sle <4 x i32> zeroinitializer, splat (i32 65536)' (in function: select_icmp_slt_one)
warning: Instruction selection used fallback path for select_icmp_slt_one

Occurrences (16) (first 15):

InputFunctionConfig
atomic-cmpxchg.826ebae883.ll (mutant of atomic-cmpxchg.ll)cmpxchg_i16_seq_cst_monotonic-mtriple=riscv32 -verify-machineinstrs -mattr=+zaamo,+zalrsc,+zfinx -O1 -code-model=small
atomic-load-store.2f19c134fd.ll (mutant of atomic-load-store.ll)atomic_store_i32_seq_cst-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zalasr,+ztso,+zhinx -O3
bigendian-load-store.21d21caf37.ll (mutant of bigendian-load-store.ll)store_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zfinx -O3 -code-model=small
calling-conv-p-ext-vector.72f237bded.ll (mutant of calling-conv-p-ext-vector.ll)test_cc_v4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx -O3
fixed-vectors-vsaddu.eb27af39da.ll (mutant of fixed-vectors-vsaddu.ll)uadd_v4i32_vi-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
fpenv-xlen.aa25a3bf96.ll (mutant of fpenv-xlen.ll)func_get_fpenv-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+a -O3
half-round-conv.803f25d28a.ll (mutant of half-round-conv.ll)test_roundeven_ui16-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin,+a -O2
half-select-icmp.72fcf60aec.ll (mutant of half-select-icmp.ll)select_icmp_slt_one-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zbs -O3
imm.bd9f38ebbd.ll (mutant of imm.ll)imm_12900925247761-mtriple=riscv32 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+xqcili,+zhinx -O1
rv32zbb.d33e61dae8.ll (mutant of rv32zbb.ll)sexth_extract_i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+xtheadba -O2
rv64-float-convert-strict.b340b07b02.ll (mutant of rv64-float-convert-strict.ll)sitofp_i128_to_f32-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -disable-strictnode-mutation -mattr=+zfinx,+zve32x -O0
rvp-mul-parts-acc-fold.b487df05e1.ll (mutant of rvp-mul-parts-acc-fold.ll)pmaccu_h11-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zihintpause,+zdinx -O1 -code-model=small
rvp-narrowing-shift-trunc.52f4175fbc.ll (mutant of rvp-narrowing-shift-trunc.ll)trunc_lshr_v2i32_to_v2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbb,+zhinx -O0
signed-truncation-check.541e0c2239.ll (mutant of signed-truncation-check.ll)add_ugecmp_i32_i16_i8-mtriple=riscv32-unknown-linux-gnu -mattr=+zdinx -O2 -verify-machineinstrs
ucmp.bca652cb9e.ll (mutant of ucmp.ll)ucmp.8.32-mtriple=riscv32 -mattr=+zbkb,+zfinx -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.