fallback: translate: store i8

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: store i8 M
Occurrences:3 in 3 configs, 3 test files, 53 more counted only
Snippet from:hoist-global-addr-base.49ef6e99ab.ll (mutant of hoist-global-addr-base.ll) @store_sh3add via llvm-extract
Config:-mtriple=riscv64 -mattr=+zba,+zbkb,+zhinx -O2 -code-model=medium -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@bar = external global [0 x i8], align 1
@G = external global i16

define void @store_sh3add() {
  store i8 10, ptr getelementptr inbounds ([0 x i8], ptr @bar, i32 0, i64 12848), align 1
  %B = mul i16 1, 0
  store i16 %B, ptr @G, align 2
  ret void
}

Reproduce:

llc -mtriple=riscv64 -mattr=+zba,+zbkb,+zhinx -O2 -code-model=medium -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zba,+zbkb,+zhinx -O2 -code-model=medium -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: store: '  store i8 10, ptr getelementptr inbounds ([0 x i8], ptr @bar, i32 0, i64 12848), align 1' (in function: store_sh3add)
warning: Instruction selection used fallback path for store_sh3add

Occurrences (3):

InputFunctionConfig
atomic-load-store.2f19c134fd.ll (mutant of atomic-load-store.ll)atomic_store_i8_release-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zalasr,+ztso,+zhinx -O3
hoist-global-addr-base.49ef6e99ab.ll (mutant of hoist-global-addr-base.ll)store_sh3add-mtriple=riscv64 -mattr=+zba,+zbkb,+zhinx -O2 -code-model=medium -verify-machineinstrs
unaligned-load-store.0bb81faa47.ll (mutant of unaligned-load-store.ll)merge_stores_i8_i64-mtriple=riscv64 -verify-machineinstrs -mattr=+unaligned-scalar-mem,+zfinx -O0

Generated 2026-11-29 14:49 UTC.