fallback: translate: load i8~

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: load i8~ M
Occurrences:3 in 3 configs, 3 test files, 27 more counted only
Snippet from:sadd_sat_plus.831830b40d.ll (mutant of sadd_sat_plus.ll) @func4 via llvm-extract
Config:-mtriple=riscv64 -mattr=+zbb,+zdinx -O2 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i4

; Function Attrs: nounwind
define i4 @func4(i4 %x, i4 %y, i4 %z) #0 {
  %LGV = load i4, ptr @G.1, align 1
  %a = mul i4 %y, %z
  %B = udiv i4 %a, %LGV
  ret i4 %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: load: '  %LGV = load i4, ptr @G.1, align 1' (in function: func4)
warning: Instruction selection used fallback path for func4

Occurrences (3):

InputFunctionConfig
clmulr.c24fcc4fef.ll (mutant of clmulr.ll)clmulr_i4-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3
sadd_sat.b02f36a072.ll (mutant of sadd_sat.ll)func3-mtriple=riscv32 -mattr=+m,+zfinx,+zba -O0 -verify-machineinstrs
sadd_sat_plus.831830b40d.ll (mutant of sadd_sat_plus.ll)func4-mtriple=riscv64 -mattr=+zbb,+zdinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.