fallback: translate: sub <N x i8>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sub <N x i8> M
Occurrences:3 in 3 configs, 3 test files, 5 more counted only
Snippet from:alu-roundtrip.809c0fef53.ll (mutant of alu-roundtrip.ll) @slli_i32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zdinx -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

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

define i32 @slli_i32(i32 %a) {
entry:
  %B = sub <8 x i8> splat (i8 -128), zeroinitializer
  %0 = shl i32 %a, 11
  store <8 x i8> %B, ptr @G.1, align 8
  ret i32 %0
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zdinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zdinx -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
alu-roundtrip.809c0fef53.ll (mutant of alu-roundtrip.ll)slli_i32-mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zdinx -O1
float-fcmp.93c82ad757.ll (mutant of float-fcmp.ll)fcmp_ord-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+zve32x -O3
half-convert.552551a07b.ll (mutant of half-convert.ll)fcvt_h_wu_load-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+zhinx,+a -O0

Generated 2026-11-29 14:49 UTC.