fallback: translate: load i8

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: load i8 M
Occurrences:102 in 91 configs, 79 test files, 1603 more counted only
Snippet from:idiv_large.2e30d34540.ll (mutant of idiv_large.ll) @udiv_i64 via llvm-extract
Config:-mtriple=riscv32 -mattr=+zdinx -O0 -code-model=small -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i8

; Function Attrs: nounwind
define i64 @udiv_i64(i64 %x, i64 %y) #0 {
  %LGV = load i8, ptr @G.2, align 1
  %res = udiv i64 %x, %y
  %C = icmp sle i8 127, %LGV
  store i1 %C, ptr poison, align 1
  ret i64 %res
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (102) (first 15):

InputFunctionConfig
abds.fcbab11b87.ll (mutant of abds.ll)abd_ext_i64-mtriple=riscv32 -mattr=+zfinx -O0 -verify-machineinstrs
add-before-shl.952a52ee13.ll (mutant of add-before-shl.ll)add_large_const-mtriple=riscv32 -verify-machineinstrs -M no-aliases -mattr=+a,+zdinx -O2
add_shl_constant.142f85c6ca.ll (mutant of add_shl_constant.ll)add_shl_moreOneUse_inStore_addexceedsign12-mtriple=riscv32 -mattr=+zfinx,+zba -O2 -verify-machineinstrs
atomic-fence.a5c50df826.ll (mutant of atomic-fence.ll)fence_singlethread_seq_cst-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zicsr -O2 -code-model=medium
atomic-load-store-fp.649cbfb57e.ll (mutant of atomic-load-store-fp.ll)atomic_load_f64_seq_cst-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0
atomic-load-store.54a3c83ec0.ll (mutant of atomic-load-store.ll)atomic_store_i16_release-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zalasr,+ztso,+zbs,+zhinx -O2
attributes.cdb5ce4db8.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+sspm,+zdinx -O0 -verify-machineinstrs
avgceilu.85c020a785.ll (mutant of avgceilu.ll)test_ext_i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O2
avgflooru.eb8e216a9d.ll (mutant of avgflooru.ll)test_ext_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
bigendian-load-store.ef76700aca.ll (mutant of bigendian-load-store.ll)load_i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zihintpause,+zhinx -O3
bitreverse-shift.91ea3d15cd.ll (mutant of bitreverse-shift.ll)test_bitreverse_srli_bitreverse_i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zvbb,+zdinx -O1
bswap-bitreverse.6f3b22e762.ll (mutant of bswap-bitreverse.ll)test_bswap_bitreverse_i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zvkb -O2
bswap-shift.f6be861e88.ll (mutant of bswap-shift.ll)test_bswap_srli_24_bswap_i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O0
calls.c62ba21f7d.ll (mutant of calls.ll)test_call_defined-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0 -code-model=small
clmul.0c2dfe5e7c.ll (mutant of clmul.ll)clmul_i8-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zvbc,+zhinx -O1

Generated 2026-11-29 14:49 UTC.