fallback: legalize: G_STORE <3 x s1>,p0

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_STORE <3 x s1>,p0 NEW
Occurrences:6 in 6 configs, 1 test files
Snippet from:srem-seteq-illegal-types.34af7c7b62.ll (mutant of srem-seteq-illegal-types.ll) @test_srem_vec via llvm-extract + llvm-reduce
Config:-mtriple=riscv64
Local check:reproduces at 04ca53e65f
Compiler Explorer:https://godbolt.org/z/co1d5v5qx (llc-assertions-trunk, checked 2026-10-14 11:50 UTC): G reproduces

Snippet:

define void @test_srem_vec() {
  store <3 x i1> zeroinitializer, ptr null, align 1
  ret void
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*02remark: <unknown>:0:0: unable to legalize instruction: G_STORE %0:_(<3 x s1>), %2:_(p0) :: (store (<3 x s1>) into `ptr null`) (in function: test_srem_vec)
warning: Instruction selection used fallback path for test_srem_vec
SelectionDAG (control)-mtriple=riscv64 -global-isel=002-

Reproduce:

llc -mtriple=riscv64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: G_STORE %0:_(<3 x s1>), %2:_(p0) :: (store (<3 x s1>) into `ptr null`) (in function: test_srem_vec)
warning: Instruction selection used fallback path for test_srem_vec

Occurrences (6):

InputFunctionConfig
srem-seteq-illegal-types.34af7c7b62.ll (mutant of srem-seteq-illegal-types.ll)test_srem_vec-mtriple=riscv64
srem-seteq-illegal-types.7c4d574b03.ll (mutant of srem-seteq-illegal-types.ll)test_srem_vec-mtriple=riscv32 -mattr=+m
srem-seteq-illegal-types.85625aee0b.ll (mutant of srem-seteq-illegal-types.ll)test_srem_vec-mtriple=riscv64 -mattr=+m,+v
srem-seteq-illegal-types.90067805bc.ll (mutant of srem-seteq-illegal-types.ll)test_srem_vec-mtriple=riscv64 -mattr=+m
srem-seteq-illegal-types.959f9e3ea8.ll (mutant of srem-seteq-illegal-types.ll)test_srem_vec-mtriple=riscv32 -mattr=+m,+v
srem-seteq-illegal-types.a0289f46a4.ll (mutant of srem-seteq-illegal-types.ll)test_srem_vec-mtriple=riscv32

Generated 2026-10-15 08:05 UTC.