fallback: translate: shl i8

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: shl i8 M
Occurrences:4 in 4 configs, 4 test files, 17 more counted only
Snippet from:imm.1b183d4c76.ll (mutant of imm.ll) @imm_neg_8798043653189 via llvm-extract
Config:-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zbb,+zdinx -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i8

define i64 @imm_neg_8798043653189() {
  %B = shl i8 127, 16
  store i8 %B, ptr @G.1, align 1
  ret i64 -8798043653189
}

Reproduce:

llc -mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zbb,+zdinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zbb,+zdinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %B = shl i8 127, 16' (in function: imm_neg_8798043653189)
warning: Instruction selection used fallback path for imm_neg_8798043653189

Occurrences (4):

InputFunctionConfig
fixed-vectors-shuffle-int.2616750ec1.ll (mutant of fixed-vectors-shuffle-int.ll)concat_4xi8_start-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
half-arith-strict.ade3e1e56f.ll (mutant of half-arith-strict.ll)fnmsub_h-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64 -mattr=+zhinx,+m -O2
half-intrinsics.e7c6f3e9d9.ll (mutant of half-intrinsics.ll)fmuladd_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx -O1
imm.1b183d4c76.ll (mutant of imm.ll)imm_neg_8798043653189-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zbb,+zdinx -O0

Generated 2026-11-29 14:49 UTC.