fallback: translate: icmp i64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: icmp i64 M
Occurrences:26 in 25 configs, 23 test files, 333 more counted only
Snippet from:srem-seteq-illegal-types.5f92d955df.ll (mutant of srem-seteq-illegal-types.ll) @test_srem_even via llvm-extract
Config:-mtriple=riscv32 -mattr=+zfinx,+c -O2 -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i1 @test_srem_even(i4 %X) #0 {
  %C1 = icmp ult i64 0, -1
  ret i1 %C1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -mattr=+zfinx,+c -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfinx,+c -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: icmp: '  %C1 = icmp ult i64 0, -1' (in function: test_srem_even)
warning: Instruction selection used fallback path for test_srem_even

Occurrences (26) (first 15):

InputFunctionConfig
abds-neg.07b76dcd40.ll (mutant of abds-neg.ll)abd_cmp_i64-mtriple=riscv32 -mattr=+zdinx -O3 -verify-machineinstrs
abds.eb07fee59d.ll (mutant of abds.ll)abd_subnsw_i64_undef-mtriple=riscv64 -mattr=+zbb,+zdinx -O3 -verify-machineinstrs
abdu-neg.40b9c964ea.ll (mutant of abdu-neg.ll)abd_ext_i64_undef-mtriple=riscv32 -mattr=+zbb,+zfinx -O1 -verify-machineinstrs
abdu.5f9ad57b53.ll (mutant of abdu.ll)abd_cmp_i64-mtriple=riscv32 -mattr=+zhinx -O3 -verify-machineinstrs
attributes-andes.7b4c0e6e34.ll (mutant of attributes-andes.ll)addi-mtriple=riscv64 -mattr=+zdinx -O1 -verify-machineinstrs
bitreverse-shift.4971691a9f.ll (mutant of bitreverse-shift.ll)test_bitreverse_srli_bitreverse_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3 -code-model=small
ctlz-cttz-ctpop.d360e98ef9.ll (mutant of ctlz-cttz-ctpop.ll)test_ctpop_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadbb,+zdinx -O3
fixed-vectors-vssub-vp.592b6965e2.ll (mutant of fixed-vectors-vssub-vp.ll)vssub_vv_v4i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
float-maximum-minimum.dbcde7846b.ll (mutant of float-maximum-minimum.ll)fminimum_nnan_attr_f32-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O1
iabs.ce4d693f32.ll (mutant of iabs.ll)abs64-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zfinx -O1
iabs.ce4d693f32.ll (mutant of iabs.ll)select_abs64-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zfinx -O1
imm.976b39f4a1.ll (mutant of imm.ll)imm_neg_8798043653189-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zhinx -O0
min-max.02ed294c90.ll (mutant of min-max.ll)smax_undef_i32-mtriple=riscv32 -mattr=+zfinx -O3 -verify-machineinstrs
min-max.c6aec2be16.ll (mutant of min-max.ll)smin_i32_negone-mtriple=riscv32 -mattr=+a,+zfinx -O2 -verify-machineinstrs
rv32zbb-zbkb.87e3aa95cd.ll (mutant of rv32zbb-zbkb.ll)andn_i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O3

Generated 2026-11-29 14:49 UTC.