fallback: translate: or <N x i8>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: or <N x i8> M
Occurrences:4 in 4 configs, 4 test files, 14 more counted only
Snippet from:rv64zbs.8e65d76c26.ll (mutant of rv64zbs.ll) @bset_i32_load via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zbs,+zbb,+zhinx -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <8 x i8>

; Function Attrs: nounwind
define signext i32 @bset_i32_load(ptr %p, i32 signext %b) #0 {
  %B = or <8 x i8> splat (i8 -128), splat (i8 127)
  %a = load i32, ptr %p, align 4
  %shl = shl i32 1, %b
  %or = or i32 %shl, %a
  store <8 x i8> %B, ptr @G, align 8
  ret i32 %or
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbs,+zbb,+zhinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbs,+zbb,+zhinx -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: or: '  %B = or <8 x i8> splat (i8 -128), splat (i8 127)' (in function: bset_i32_load)
warning: Instruction selection used fallback path for bset_i32_load

Occurrences (4):

InputFunctionConfig
half-convert-strict.5d99c51b7e.ll (mutant of half-convert-strict.ll)fcvt_h_d-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx,+zve32x -O3
rv64zbs.8e65d76c26.ll (mutant of rv64zbs.ll)bset_i32_load-mtriple=riscv64 -verify-machineinstrs -mattr=+zbs,+zbb,+zhinx -O2
xqcilsm-memset.6d887a1d4b.ll (mutant of xqcilsm-memset.ll)test6c_l-mtriple=riscv32 -verify-machineinstrs -mattr=+xqcilsm,+zdinx -O2
zfh-half-intrinsics-strict.d6e7d93ea2.ll (mutant of zfh-half-intrinsics-strict.ll)roundeven_f16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation -mattr=+zhinx -O3

Generated 2026-11-29 14:49 UTC.