fallback: translate: icmp <N x i8>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: icmp <N x i8> M
Occurrences:16 in 16 configs, 16 test files, 112 more counted only
Snippet from:cttz-elts-scalarize.0d0b8e1cd1.ll (mutant of cttz-elts-scalarize.ll) @v4i1 via llvm-extract
Config:-mtriple=riscv64 -mattr=+m,+zdinx -O3 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <8 x i1>

define i32 @v4i1(<4 x i1> %x) {
  %C = icmp ugt <8 x i8> splat (i8 42), splat (i8 127)
  %y = call i32 @llvm.experimental.cttz.elts.i32.v4i1(<4 x i1> %x, i1 false)
  store <8 x i1> %C, ptr @G.1, align 1
  ret i32 %y
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.experimental.cttz.elts.i32.v4i1(<4 x i1>, i1 immarg) #0

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: icmp: '  %C = icmp ugt <8 x i8> splat (i8 42), splat (i8 127)' (in function: v4i1)
warning: Instruction selection used fallback path for v4i1

Occurrences (16) (first 15):

InputFunctionConfig
allow-check.6932175b85.ll (mutant of allow-check.ll)test_runtime-mtriple=riscv32 -fast-isel=0 -mattr=+zba,+zdinx -O1 -verify-machineinstrs
bswap-bitreverse.37a311b7cb.ll (mutant of bswap-bitreverse.ll)test_bswap_i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+experimental-p,+zdinx,+zbkb -O1
calling-conv-sext-zext.efacc6fc25.ll (mutant of calling-conv-sext-zext.ll)ret_callresult_anyint32_as_sint8-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1
clmul.cc11607824.ll (mutant of clmul.ll)clmul_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zbb,+zdinx -O0
codemodel-lowering.e5ee63e50c.ll (mutant of codemodel-lowering.ll)lower_extern_weak-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zfinx -O3
combine-vmnot-setcc.186edb06aa.ll (mutant of combine-vmnot-setcc.ll)reduce_and_trunc_v8i8-mtriple=riscv32 -mattr=+zdinx -O3 -verify-machineinstrs
ctlz-cttz-ctpop.e4c094593d.ll (mutant of ctlz-cttz-ctpop.ll)test_ctpop_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0 -code-model=medium
cttz-elts-scalarize.0d0b8e1cd1.ll (mutant of cttz-elts-scalarize.ll)v4i1-mtriple=riscv64 -mattr=+m,+zdinx -O3 -verify-machineinstrs
double-convert-strict.ef79fd911b.ll (mutant of double-convert-strict.ll)fcvt_d_w_i8-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zdinx -O1
fixed-vectors-cttz-elts.a0207fb689.ll (mutant of fixed-vectors-cttz-elts.ll)ctz_v2i1_poison-mtriple=riscv32 -mattr=+zhinx -O2 -verify-machineinstrs
fixed-vectors-vaaddu.51a8929f27.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_ceil_splat_scalar-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
rv64zbc-zbkc-intrinsic.dbf88dd9f5.ll (mutant of rv64zbc-zbkc-intrinsic.ll)llvm_clmulh_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zbkc,+zicsr,+zfinx -O0
rvp-avgsub.00bcc85370.ll (mutant of rvp-avgsub.ll)zero_s_v8i8-mtriple=riscv64 -mattr=+experimental-p,+zfinx -O1 -verify-machineinstrs
rvp-bitreverse-zbkb.45b16927dc.ll (mutant of rvp-bitreverse-zbkb.ll)test_bitreverse_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zbkb,+zdinx -O0
umulh.513754e47a.ll (mutant of umulh.ll)umulh_v8i8-mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.