fallback: translate: or <N x i32>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: or <N x i32> M
Occurrences:4 in 4 configs, 4 test files, 10 more counted only
Snippet from:rv32zbb-zbkb.7872442b81.ll (mutant of rv32zbb-zbkb.ll) @andn_seqz_i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zfinx,+zba -O2 -code-model=medium
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <4 x i32>

; Function Attrs: nounwind
define i1 @andn_seqz_i64(i64 %a, i64 %b) #0 {
  %B = or <4 x i32> splat (i32 2147483647), splat (i32 1)
  %and = and i64 %a, %b
  %cmpeq = icmp eq i64 %and, %b
  store <4 x i32> %B, ptr @G.1, align 16
  ret i1 %cmpeq
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: or: '  %B = or <4 x i32> splat (i32 2147483647), splat (i32 1)' (in function: andn_seqz_i64)
warning: Instruction selection used fallback path for andn_seqz_i64

Occurrences (4):

InputFunctionConfig
half-mem.09e197d35d.ll (mutant of half-mem.ll)fsh-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O3
lrint-conv.b297c9312c.ll (mutant of lrint-conv.ll)test_lrint_ixx_f32-mtriple=riscv64 -mattr=+zdinx -O3 -verify-machineinstrs
rv32zbb-zbkb.7872442b81.ll (mutant of rv32zbb-zbkb.ll)andn_seqz_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zfinx,+zba -O2 -code-model=medium
ssub_sat.df03fe8151.ll (mutant of ssub_sat.ll)func-mtriple=riscv64 -mattr=+m,+zfinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.