fallback: translate: load i32~

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: load i32~ M
Occurrences:5 in 5 configs, 3 test files, 3 more counted only
Snippet from:unaligned-load-store.98dbc25f7f.ll (mutant of unaligned-load-store.ll) @load_i24 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i24

define i24 @load_i24(ptr %p) {
  %LGV = load i24, ptr @G.2, align 4
  %res = load i24, ptr %p, align 1
  %B = shl i24 %res, %LGV
  ret i24 %B
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
srem-seteq-illegal-types.2f396a32e5.ll (mutant of srem-seteq-illegal-types.ll)test_srem_odd-mtriple=riscv32 -mattr=+zfinx -O2 -verify-machineinstrs
srem-seteq-illegal-types.e0740ec688.ll (mutant of srem-seteq-illegal-types.ll)test_srem_odd-mtriple=riscv64 -mattr=+zhinx -O2 -verify-machineinstrs
unaligned-load-store.98dbc25f7f.ll (mutant of unaligned-load-store.ll)load_i24-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
unaligned-load-store.a596df7252.ll (mutant of unaligned-load-store.ll)load_i24-mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zdinx -O2
urem-seteq-illegal-types.ea99602c61.ll (mutant of urem-seteq-illegal-types.ll)test_urem_even-mtriple=riscv32 -mattr=+zhinx -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.