fallback: translate: load i8~

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: load i8~ M
Occurrences:9 in 9 configs, 5 test files, 15 more counted only
Snippet from:urem-seteq-illegal-types.5f644e2e6b.ll (mutant of urem-seteq-illegal-types.ll) @test_urem_odd_setne via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx -O1 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i4
@G.3 = external global i4

; Function Attrs: nounwind
define i1 @test_urem_odd_setne(i4 %X) #0 {
  %LGV1 = load i4, ptr @G.2, align 1
  %B = lshr i4 %X, %LGV1
  %urem = urem i4 %X, 5
  %cmp = icmp ne i4 %urem, 0
  store i4 %B, ptr @G.3, align 1
  ret i1 %cmp
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (9):

InputFunctionConfig
clmul.3cf7c90c7b.ll (mutant of clmul.ll)clmul_i4-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O2
clmul.7a138d1693.ll (mutant of clmul.ll)clmul_i4-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O0
clmul.8980f3a70d.ll (mutant of clmul.ll)clmul_i4-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbs,+zcb,+zfinx -O2
clmulh.1c54816dac.ll (mutant of clmulh.ll)clmulh_i4_bitreverse-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0 -code-model=medium
clmulh.8dccfb79bd.ll (mutant of clmulh.ll)clmulh_i4_bitreverse-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+xtheadba,+zhinx -O2
srem-seteq-illegal-types.781419503c.ll (mutant of srem-seteq-illegal-types.ll)test_srem_pow2_setne-mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs
ssub_sat_plus.d3793614ed.ll (mutant of ssub_sat_plus.ll)func4-mtriple=riscv64 -mattr=+m,+zbb,+zba,+zdinx -O1 -verify-machineinstrs
urem-seteq-illegal-types.14ba4d8f8c.ll (mutant of urem-seteq-illegal-types.ll)test_urem_odd_setne-mtriple=riscv32 -mattr=+zbkb,+zfinx -O1 -code-model=small -verify-machineinstrs
urem-seteq-illegal-types.5f644e2e6b.ll (mutant of urem-seteq-illegal-types.ll)test_urem_odd_setne-mtriple=riscv64 -mattr=+zhinx -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.