fallback: translate: and <N x i8>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: and <N x i8> M
Occurrences:5 in 5 configs, 5 test files, 20 more counted only
Snippet from:attributes.2c7347fcf1.ll (mutant of attributes.ll) @atomic_load_i8_seq_cst via llvm-extract
Config:-mtriple=riscv64 -mattr=+zfinx -O1 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <8 x i8>

; Function Attrs: nounwind
define i8 @atomic_load_i8_seq_cst(ptr %a) #0 {
  %B = and <8 x i8> zeroinitializer, splat (i8 42)
  %1 = load atomic i8, ptr %a seq_cst, align 1
  store <8 x i8> %B, ptr @G, align 8
  ret i8 %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: and: '  %B = and <8 x i8> zeroinitializer, splat (i8 42)' (in function: atomic_load_i8_seq_cst)
warning: Instruction selection used fallback path for atomic_load_i8_seq_cst

Occurrences (5):

InputFunctionConfig
attributes.2c7347fcf1.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zfinx -O1 -verify-machineinstrs
double-arith.1fb0e06791.ll (mutant of double-arith.ll)fmin_d-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zvkb,+zicsr -O1
half-convert.4f0a444fa9.ll (mutant of half-convert.ll)fcvt_ui_h_sat-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zdinx,+zhinxmin -O3
rvp-insert-subvector.2fa2891512.ll (mutant of rvp-insert-subvector.ll)insert_lo_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zfinx -O1
ssub_sat.34c7b1a3e8.ll (mutant of ssub_sat.ll)func8-mtriple=riscv64 -mattr=+m,+zvbb,+zhinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.