fallback: translate: icmp <N x i1>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: icmp <N x i1> M
Occurrences:4 in 3 configs, 4 test files, 4 more counted only
Snippet from:fixed-vectors-marith-vp.4f13f60584.ll (mutant of fixed-vectors-marith-vp.ll) @xor_v4i1 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x i1> @xor_v4i1(<4 x i1> %b, <4 x i1> %c, <4 x i1> %a, i32 zeroext %evl) {
  %C = icmp sgt <4 x i1> %c, splat (i1 true)
  %v = xor <4 x i1> %b, %c
  store <4 x i1> %C, ptr poison, align 1
  ret <4 x i1> %v
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: icmp: '  %C = icmp sgt <4 x i1> %c, splat (i1 true)' (in function: xor_v4i1)
warning: Instruction selection used fallback path for xor_v4i1

Occurrences (4):

InputFunctionConfig
fixed-vectors-marith-vp.4f13f60584.ll (mutant of fixed-vectors-marith-vp.ll)xor_v4i1-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3
fixed-vectors-select-addsub.cf68b2a2b9.ll (mutant of fixed-vectors-select-addsub.ll)select_addsub_v4i32_both_swapped-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1
fixed-vectors-setcc-int-vp.3e3b1dee7f.ll (mutant of fixed-vectors-setcc-int-vp.ll)icmp_ne_vi_swap_v8i8-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O3
fixed-vectors-vssubu-vp.0dcf430ea1.ll (mutant of fixed-vectors-vssubu-vp.ll)vssubu_vx_v16i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3

Generated 2026-11-29 14:49 UTC.