fallback: translate: store i16

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: store i16 M
Occurrences:3 in 3 configs, 2 test files, 42 more counted only
Snippet from:unaligned-load-store.4305721f90.ll (mutant of unaligned-load-store.ll) @merge_stores_i16_i32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+unaligned-scalar-mem,+zfinx -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @merge_stores_i16_i32(ptr %p) {
  store i16 0, ptr %p, align 2
  %p2 = getelementptr i16, ptr %p, i32 1
  store i16 0, ptr %p2, align 2
  %G = getelementptr ptr, ptr %p, i8 0
  store ptr %G, ptr poison, align 8
  ret void
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: store: '  store i16 0, ptr %p, align 2' (in function: merge_stores_i16_i32)
warning: Instruction selection used fallback path for merge_stores_i16_i32

Occurrences (3):

InputFunctionConfig
atomic-load-store.30e7945e98.ll (mutant of atomic-load-store.ll)atomic_store_i16_unordered-mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zbb,+zdinx -O3
atomic-load-store.3f253e092a.ll (mutant of atomic-load-store.ll)atomic_store_i16_monotonic-mtriple=riscv64 -verify-machineinstrs -mattr=+-a,+zaamo,+zalrsc,+no-trailing-seq-cst-fence,+zicond,+zhinx -O3
unaligned-load-store.4305721f90.ll (mutant of unaligned-load-store.ll)merge_stores_i16_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+unaligned-scalar-mem,+zfinx -O2

Generated 2026-11-29 14:49 UTC.