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

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_STORE <4 x s1>,p0 NEW
Occurrences:2009 in 1135 configs, 461 test files
Snippet from:attributes.002cb79d7d.ll (mutant of attributes.ll) @addi via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -mattr=+zfbfmin
Local check:reproduces at bc8218b282
Compiler Explorer:https://godbolt.org/z/PqMYq5KM9 (llc-assertions-trunk, checked 2026-10-15 08:04 UTC): G reproduces

Snippet:

define i32 @addi() {
  store <4 x i1> zeroinitializer, ptr null, align 1
  ret i32 0
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv32 -mattr=+zfbfmin -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*03remark: <unknown>:0:0: unable to legalize instruction: G_STORE %0:_(<4 x s1>), %2:_(p0) :: (store (<4 x s1>) into `ptr null`) (in function: addi)
warning: Instruction selection used fallback path for addi
SelectionDAG (control)-mtriple=riscv32 -mattr=+zfbfmin -global-isel=003-

Reproduce:

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

Local llc output:

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

Occurrences (2009) (first 50):

InputFunctionConfig
abdu.3707394937.ll (mutant of abdu.ll)abd_ext_i16_i32-mtriple=riscv64 -mattr=+zbb
abdu.776ed54b48.ll (mutant of abdu.ll)abd_ext_i16_i32-mtriple=riscv32 -mattr=+zbb
abdu.913ff35ff6.ll (mutant of abdu.ll)abd_ext_i16_i32-mtriple=riscv32
abdu.cff6033076.ll (mutant of abdu.ll)abd_ext_i16_i32-mtriple=riscv64
add-before-shl.5e8ed4a5e5.ll (mutant of add-before-shl.ll)add_huge_const-mtriple=riscv64 -mattr=+zca -verify-machineinstrs -M no-aliases
add-before-shl.6f62a7a8a3.ll (mutant of add-before-shl.ll)add_huge_const-mtriple=riscv32 -verify-machineinstrs -M no-aliases
add-before-shl.7f1bd0e29f.ll (mutant of add-before-shl.ll)add_huge_const-mtriple=riscv64 -mattr=+c -verify-machineinstrs -M no-aliases
add-before-shl.810626b7df.ll (mutant of add-before-shl.ll)add_huge_const-mtriple=riscv32 -mattr=+c -verify-machineinstrs -M no-aliases
add-before-shl.c5b89a6b3a.ll (mutant of add-before-shl.ll)add_huge_const-mtriple=riscv32 -mattr=+zca -verify-machineinstrs -M no-aliases
add-before-shl.c74cd6546a.ll (mutant of add-before-shl.ll)add_huge_const-mtriple=riscv64 -verify-machineinstrs -M no-aliases
add-imm64-to-sub.03e7c4d2fa.ll (mutant of add-imm64-to-sub.ll)add_multiuse_const-mtriple=riscv64 -mattr=+m,+zbb,+zbs
add-imm64-to-sub.65290b594e.ll (mutant of add-imm64-to-sub.ll)add_multiuse_const-mtriple=riscv64 -mattr=+m,+zbb
add_sext_shl_constant.5932f4a772.ll (mutant of add_sext_shl_constant.ll)add_sext_shl_moreOneUse_add_inSelect_addexceedsign12-mtriple=riscv64 -mattr=+zba
add_sext_shl_constant.90eb31fa53.ll (mutant of add_sext_shl_constant.ll)add_sext_shl_moreOneUse_add_inSelect_addexceedsign12-mtriple=riscv64
add_sext_shl_constant.f793e5c32f.ll (mutant of add_sext_shl_constant.ll)add_sext_shl_moreOneUse_add_inSelect_addexceedsign12-mtriple=riscv64 -mattr=+xandesperf
addc-adde-sube-subc.2d449e607f.ll (mutant of addc-adde-sube-subc.ll)addc_adde-mtriple=riscv32 -verify-machineinstrs
addcarry.bb719c4a98.ll (mutant of addcarry.ll)addcarry-mtriple=riscv32 -mattr=+m
aext.306f939db5.ll (mutant of aext.ll)aext-mtriple=riscv32 -verify-machineinstrs
aext.9bdaa010ce.ll (mutant of aext.ll)aext-mtriple=riscv64 -verify-machineinstrs
align.39c78b921b.ll (mutant of align.ll)foo-mtriple=riscv32 -mattr=+c -verify-machineinstrs
align.7a05314b9c.ll (mutant of align.ll)foo-mtriple=riscv32 -verify-machineinstrs
alloca.663fc72c18.ll (mutant of alloca.ll)alloca_callframe-mtriple=riscv32 -verify-machineinstrs
allow-check.1451da2266.ll (mutant of allow-check.ll)test_runtime-mtriple=riscv32 -fast-isel=0
allow-check.fbbe87b397.ll (mutant of allow-check.ll)test_runtime-mtriple=riscv64 -fast-isel=0
analyze-branch.35f8eb4327.ll (mutant of analyze-branch.ll)test_bcc_fallthrough_taken-mtriple=riscv32 -verify-machineinstrs
and-negpow2-cmp.84552feaf2.ll (mutant of and-negpow2-cmp.ll)test5-mtriple=riscv32
and-negpow2-cmp.b4cd8ac1ac.ll (mutant of and-negpow2-cmp.ll)test5-mtriple=riscv64
and-shl.787190af93.ll (mutant of and-shl.ll)and_0xffffffff_shl_2-mtriple=riscv32 -verify-machineinstrs
and-shl.a7294ca3f1.ll (mutant of and-shl.ll)and_0xffffffff_shl_2-mtriple=riscv64 -verify-machineinstrs
and.45572eb70c.ll (mutant of and.ll)and32_0x7ffff000-mtriple=riscv64 -verify-machineinstrs
and.8859bb5a99.ll (mutant of and.ll)and32_0x7ffff000-mtriple=riscv32 -verify-machineinstrs
andn-zext-lowmask.0995fbe1f0.ll (mutant of andn-zext-lowmask.ll)andn_zext_lowmask_i32_i16-mtriple=riscv32 -verify-machineinstrs
andn-zext-lowmask.9479e51e30.ll (mutant of andn-zext-lowmask.ll)andn_zext_lowmask_i32_i16-mtriple=riscv64 -verify-machineinstrs
andn-zext-lowmask.d536e64bd5.ll (mutant of andn-zext-lowmask.ll)andn_zext_lowmask_i32_i16-mtriple=riscv64 -mattr=+zbb -verify-machineinstrs
andn-zext-lowmask.e820175051.ll (mutant of andn-zext-lowmask.ll)andn_zext_lowmask_i32_i16-mtriple=riscv32 -mattr=+zbb -verify-machineinstrs
atomic-cmpxchg-branch-on-result.6638008141.ll (mutant of atomic-cmpxchg-branch-on-result.ll)cmpxchg_and_irrelevant_branch-mtriple=riscv64 -mattr=+a,+zacas -verify-machineinstrs
atomic-cmpxchg-branch-on-result.9577b6b10f.ll (mutant of atomic-cmpxchg-branch-on-result.ll)cmpxchg_and_irrelevant_branch-mtriple=riscv64 -mattr=+a,+zacas,+zabha -verify-machineinstrs
atomic-cmpxchg-branch-on-result.ca21acd3bd.ll (mutant of atomic-cmpxchg-branch-on-result.ll)cmpxchg_and_irrelevant_branch-mtriple=riscv32 -mattr=+a -verify-machineinstrs
atomic-cmpxchg-branch-on-result.d61c5552ac.ll (mutant of atomic-cmpxchg-branch-on-result.ll)cmpxchg_and_irrelevant_branch-mtriple=riscv64 -mattr=+a -verify-machineinstrs
atomic-cmpxchg-branch-on-result.dfa9817e01.ll (mutant of atomic-cmpxchg-branch-on-result.ll)cmpxchg_and_irrelevant_branch-mtriple=riscv32 -mattr=+a,+zacas -verify-machineinstrs
atomic-cmpxchg-flag.c991e5ab28.ll (mutant of atomic-cmpxchg-flag.ll)cmpxchg_i32_seq_cst_seq_cst-mtriple=riscv64 -mattr=+a -verify-machineinstrs
atomic-fence.0b7868540b.ll (mutant of atomic-fence.ll)fence_acq_rel-mtriple=riscv32 -mattr=+a -verify-machineinstrs
atomic-fence.104961667e.ll (mutant of atomic-fence.ll)fence_singlethread_acquire-mtriple=riscv64 -mattr=+a,+ztso -verify-machineinstrs
atomic-fence.15f2aa5a41.ll (mutant of atomic-fence.ll)fence_singlethread_acquire-mtriple=riscv32 -verify-machineinstrs
atomic-fence.18c4dc4b45.ll (mutant of atomic-fence.ll)fence_acq_rel-mtriple=riscv64 -mattr=+a -verify-machineinstrs
atomic-fence.348e746f7f.ll (mutant of atomic-fence.ll)fence_acq_rel-mtriple=riscv32 -mattr=+a,+ztso -verify-machineinstrs
atomic-fence.3b942ba8a3.ll (mutant of atomic-fence.ll)fence_singlethread_acquire-mtriple=riscv64 -mattr=+zalrsc -verify-machineinstrs
atomic-fence.4d5320048d.ll (mutant of atomic-fence.ll)fence_singlethread_acquire-mtriple=riscv64 -mattr=+a -verify-machineinstrs
atomic-fence.5cd0a7eb02.ll (mutant of atomic-fence.ll)fence_singlethread_acquire-mtriple=riscv64 -verify-machineinstrs
atomic-fence.7e9c719ebf.ll (mutant of atomic-fence.ll)fence_acq_rel-mtriple=riscv32 -mattr=+zalrsc -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.