fallback: translate: shl <N x i8>

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

Snippet:

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

define i64 @add64(i64 %x, i64 %y, i1 %c) {
  %B = shl <8 x i8> splat (i8 -1), splat (i8 -1)
  %binop = add i64 %x, %y
  %select_ = select i1 %c, i64 %binop, i64 %x
  store <8 x i8> %B, ptr @G.2, align 8
  ret i64 %select_
}

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
condbinops.cfd36b5884.ll (mutant of condbinops.ll)add64-mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs
double-isnan.53ed03a274.ll (mutant of double-isnan.ll)double_is_nan-mtriple=riscv64 -target-abi lp64 -verify-machineinstrs -mattr=+zdinx -O3
fold-addi-loadstore-zilsd.6e3ee81336.ll (mutant of fold-addi-loadstore-zilsd.ll)fold_addi_from_different_bb-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zilsd,+c,+xtheadba -O0
prefetch.1813884be6.ll (mutant of prefetch.ll)test_prefetch_offsetable_8-mtriple=riscv64 -mattr=+zdinx,+zbs -O1 -verify-machineinstrs
rotl-rotr.02d815dcbb.ll (mutant of rotl-rotr.ll)rotr_64_zext-mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadbb,+zdinx -O3

Generated 2026-11-29 14:49 UTC.