fallback: translate: icmp i1

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: icmp i1 M
Occurrences:10 in 10 configs, 10 test files, 174 more counted only
Snippet from:kcfi-patchable-function-prefix.ae11910aba.ll (mutant of kcfi-patchable-function-prefix.ll) @f4 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zdinx -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @f4(ptr noundef %x) #0 {
  %C = icmp ule i1 true, true
  call void %x() [ "kcfi"(i32 12345678) ]
  store i1 %C, ptr poison, align 1
  ret void
}

attributes #0 = { "patchable-function-prefix"="11" }

!llvm.module.flags = !{!0}

!0 = !{i32 4, !"kcfi", i32 1}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: icmp: '  %C = icmp ule i1 true, true' (in function: f4)
warning: Instruction selection used fallback path for f4

Occurrences (10):

InputFunctionConfig
add-before-shl.b522c56b5d.ll (mutant of add-before-shl.ll)add_non_machine_type-mtriple=riscv32 -verify-machineinstrs -M no-aliases -mattr=+zhinx -O1
div_minsize.a9a2ed6b.9ce27801c0.ll (mutant of div_minsize.a9a2ed6b.ll)i128_sdiv-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx,+zba,+zicond -O0 -code-model=small
double-arith-strict.8a75c74d26.ll (mutant of double-arith-strict.ll)fnmsub_d-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zdinx,+zicsr -O1
double-intrinsics.cfe2f39f2b.ll (mutant of double-intrinsics.ll)trunc_f64-mtriple=riscv64 -mattr=+zdinx -O3 -verify-machineinstrs
half-maximum-minimum.1746d7181a.ll (mutant of half-maximum-minimum.ll)fminimum_nnan_f16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+xtheadba -O1
kcfi-patchable-function-prefix.ae11910aba.ll (mutant of kcfi-patchable-function-prefix.ll)f4-mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zdinx -O0
musttail-indirect-args.d37acdce62.ll (mutant of musttail-indirect-args.ll)caller_musttail_i128_and_i32-mtriple=riscv32 -mattr=+zhinx,+zihintpause -O2 -verify-machineinstrs
scmp.701badab40.ll (mutant of scmp.ll)scmp.8.64-mtriple=riscv32 -mattr=+zicsr,+zhinx -O2 -verify-machineinstrs
shadow-stack-frame-opts.47994d8287.ll (mutant of shadow-stack-frame-opts.ll)caller_hw_clobber_s11-mtriple=riscv32 -mattr=+zimop,+save-restore,+zhinx -O3 -verify-machineinstrs
unaligned-load-store.910400d4f2.ll (mutant of unaligned-load-store.ll)load_i24-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zbb -O3

Generated 2026-11-29 14:49 UTC.