fallback: translate: load i8

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: load i8 M
Occurrences:70 in 47 configs, 31 test files
Snippet from:reserved-reg-errors-alias.0fbc9f0316.ll (mutant of reserved-reg-errors-alias.ll) @cf via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64
Local check:reproduces at db12fc36f6
Compiler Explorer:https://godbolt.org/z/f53xrr7o9 (llc-assertions-trunk, checked 2026-11-07 09:30 UTC): G reproduces

Snippet:

@G = external global i8
@G.1 = external global i8

declare float @gf(float)

define float @cf(float %a) {
  %LGV = load i8, ptr @G, align 1
  %r = call float @gf(float %a)
  %B = sub i8 42, %LGV
  store i8 %B, ptr @G.1, align 1
  ret float %r
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*014remark: <unknown>:0:0: unable to translate instruction: load: ' %LGV = load i8, ptr @G, align 1' (in function: cf)
warning: Instruction selection used fallback path for cf
SelectionDAG (control)-mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64 -global-isel=0014-

Reproduce:

llc -mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (70) (first 15):

InputFunctionConfig
double-bitmanip-dagcombines.0ff797192a.ll (mutant of double-bitmanip-dagcombines.ll)fabs-mtriple=riscv32 -target-abi=ilp32 -mattr=+zdinx -verify-machineinstrs
double-bitmanip-dagcombines.45f619cf3e.ll (mutant of double-bitmanip-dagcombines.ll)fabs-mtriple=riscv64 -target-abi=lp64 -mattr=+zdinx -verify-machineinstrs
double-convert-strict.5c3d6f43fb.ll (mutant of double-convert-strict.ll)fcvt_d_wu_i8-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-convert-strict.7d458ded18.ll (mutant of double-convert-strict.ll)fcvt_d_wu_i8-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-convert-strict.85c61b1cf6.ll (mutant of double-convert-strict.ll)fcvt_d_wu_i8-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-convert-strict.86345e4662.ll (mutant of double-convert-strict.ll)fcvt_d_wu_i8-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-fcmp.3054894c45.ll (mutant of double-fcmp.ll)fcmp_ole-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
double-fcmp.4bf18c31a8.ll (mutant of double-fcmp.ll)fcmp_ole-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-isnan.4104d24f6a.ll (mutant of double-isnan.ll)double_not_nan-mtriple=riscv64 -mattr=+zdinx -target-abi lp64 -verify-machineinstrs
double-isnan.7f67265720.ll (mutant of double-isnan.ll)double_not_nan-mtriple=riscv32 -mattr=+zdinx -target-abi ilp32 -verify-machineinstrs
double-previous-failure.2adf4a834b.ll (mutant of double-previous-failure.ll)main-mtriple=riscv32 -mattr=+zdinx -target-abi=ilp32 -verify-machineinstrs
float-bitmanip-dagcombines.71d1cdede4.ll (mutant of float-bitmanip-dagcombines.ll)fabs-mtriple=riscv64 -target-abi lp64 -mattr=+zfinx -verify-machineinstrs
float-bitmanip-dagcombines.c3b10e690b.ll (mutant of float-bitmanip-dagcombines.ll)fabs-mtriple=riscv32 -target-abi ilp32 -mattr=+zfinx -verify-machineinstrs
float-fcmp.16fda374b2.ll (mutant of float-fcmp.ll)fcmp_ole-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64
float-fcmp.46963b5be5.ll (mutant of float-fcmp.ll)fcmp_ole-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32

Generated 2026-11-29 14:49 UTC.