fallback: translate: add i8

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: add i8 M
Occurrences:4 in 4 configs, 4 test files, 14 more counted only
Snippet from:alu8.d1b294ccfa.ll (mutant of alu8.ll) @addi via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=medium
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i8 @addi(i8 %a) #0 {
  %B = add i8 %a, %a
  ret i8 %B
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: add: '  %B = add i8 %a, %a' (in function: addi)
warning: Instruction selection used fallback path for addi

Occurrences (4):

InputFunctionConfig
alu8.d1b294ccfa.ll (mutant of alu8.ll)addi-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=medium
ctlz-cttz-ctpop.42d2ce1780.ll (mutant of ctlz-cttz-ctpop.ll)test_ctlz_i8_zero_poison-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1
rv64zbkb.a40bf89d4d.ll (mutant of rv64zbkb.ll)packh_i16_3-mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zfinx -O2
xqcisls.525f7fd948.ll (mutant of xqcisls.ll)srb-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zcb -O1

Generated 2026-11-29 14:49 UTC.