fallback: translate: load i8

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: load i8 M
Occurrences:101 in 93 configs, 70 test files, 2285 more counted only
Snippet from:fastcc-without-f-reg.5d862bb7ef.ll (mutant of fastcc-without-f-reg.ll) @d via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i8

; Function Attrs: nounwind
define hidden fastcc double @d(double %x) #0 {
entry:
  %LGV = load i8, ptr @G, align 1
  %B = lshr i8 0, %LGV
  store i8 %B, ptr poison, align 1
  ret double %x
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -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: d)
warning: Instruction selection used fallback path for d

Occurrences (101) (first 15):

InputFunctionConfig
abds-neg.0064b04e74.ll (mutant of abds-neg.ll)abd_cmp_i8-mtriple=riscv32 -mattr=+zbb,+zfinx -O3 -verify-machineinstrs
abds-neg.70040df0d3.ll (mutant of abds-neg.ll)abd_ext_i8_i16-mtriple=riscv32 -mattr=+zfinx -O2 -verify-machineinstrs
abds.a8d6297eee.ll (mutant of abds.ll)abd_ext_i8-mtriple=riscv32 -mattr=+xtheadba,+zdinx -O3 -verify-machineinstrs
abds.e495019090.ll (mutant of abds.ll)abd_ext_i8_undef-mtriple=riscv64 -mattr=+zbb,+zfinx -O0 -verify-machineinstrs
atomic-cmpxchg.0e15b8a270.ll (mutant of atomic-cmpxchg.ll)cmpxchg_i8_seq_cst_monotonic-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zdinx -O2
atomic-cmpxchg.ffa3314d60.ll (mutant of atomic-cmpxchg.ll)cmpxchg_i32_acq_rel_monotonic-mtriple=riscv64 -mattr=+a,+zacas,+zabha,+zhinx -O2 -verify-machineinstrs
atomic-load-store.2f19c134fd.ll (mutant of atomic-load-store.ll)atomic_load_i8_acquire-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zalasr,+ztso,+zhinx -O3
atomic-load-store.3f253e092a.ll (mutant of atomic-load-store.ll)atomic_load_i8_monotonic-mtriple=riscv64 -verify-machineinstrs -mattr=+-a,+zaamo,+zalrsc,+no-trailing-seq-cst-fence,+zicond,+zhinx -O3
attributes.135c1fd812.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zdinx -O0 -verify-machineinstrs
avgflooru.4c133d0c01.ll (mutant of avgflooru.ll)test_fixed_i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3
bitreverse-shift.b9a9775eda.ll (mutant of bitreverse-shift.ll)test_bitreverse_srli_bitreverse_i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zfinx,+zvkb -O1
bswap-bitreverse.7c8b384b6a.ll (mutant of bswap-bitreverse.ll)test_bitreverse_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zve32x,+zhinx -O1
calling-conv-lp64-lp64f-lp64d-common.d704f4e195.ll (mutant of calling-conv-lp64-lp64f-lp64d-common.ll)callee_many_scalars-mtriple=riscv64 -verify-machineinstrs -mattr=+zihintpause,+zfinx -O1
clmul.36b924b4ca.ll (mutant of clmul.ll)commutative_clmul_i8-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zvbc,+zvkb,+zfinx -O1
clmul.dabe420521.ll (mutant of clmul.ll)mul_use_commutative_clmul_i8-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zvbb,+zfinx -O0

Generated 2026-11-29 14:49 UTC.