fallback: legalize: G_STORE <N x i8~>,p0

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_STORE <N x i8~>,p0 M
Occurrences:10 in 10 configs, 5 test files, 51 more counted only
Snippet from:fixed-vectors-bitextract.c983921f0c.ll (mutant of fixed-vectors-bitextract.ll) @test_bitextract_v16i4_var via llvm-extract
Config:-mtriple=riscv32 -mattr=+xtheadba -O1 -code-model=medium -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.4 = external global i64

define <16 x i4> @test_bitextract_v16i4_var(<16 x b8> %src, <16 x i32> %off) {
  %LGV = load i64, ptr @G.4, align 4
  %result = bitextract <16 x i4>, <16 x b8> %src, <16 x i32> %off
  %C = icmp eq i64 %LGV, 0
  store i1 %C, ptr poison, align 1
  ret <16 x i4> %result
}

Reproduce:

llc -mtriple=riscv32 -mattr=+xtheadba -O1 -code-model=medium -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+xtheadba -O1 -code-model=medium -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: G_STORE %7:_(<16 x i4>), %2:_(p0) :: (store (<16 x i4>)) (in function: test_bitextract_v16i4_var)
warning: Instruction selection used fallback path for test_bitextract_v16i4_var

Occurrences (10):

InputFunctionConfig
fixed-vectors-bitextract.0529d893aa.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v16i4_var-mtriple=riscv64 -mattr=+zfh -O0 -code-model=small -verify-machineinstrs
fixed-vectors-bitextract.7b65e7f985.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v16i4_var-mtriple=riscv32 -mattr=+zbs -O2 -code-model=medium -verify-machineinstrs
fixed-vectors-bitextract.c849e5799d.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v16i4_var-mtriple=riscv64 -O1 -verify-machineinstrs
fixed-vectors-bitextract.c983921f0c.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v16i4_var-mtriple=riscv32 -mattr=+xtheadba -O1 -code-model=medium -verify-machineinstrs
fixed-vectors-fptosi-vp.0a88f42998.ll (mutant of fixed-vectors-fptosi-vp.ll)vfptosi_v4i7_v4f16-mtriple=riscv64 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs
fixed-vectors-fptosi-vp.14739fc943.ll (mutant of fixed-vectors-fptosi-vp.ll)vfptosi_v4i7_v4f16-mtriple=riscv64 -mattr=+m,+zvfh -O0 -verify-machineinstrs
fixed-vectors-fptoui-vp.10655e644f.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i7_v4f16-mtriple=riscv64 -mattr=+m,+zvfhmin,+zfhmin -O3 -verify-machineinstrs
fixed-vectors-fptoui-vp.fd2a08edd3.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i7_v4f16-mtriple=riscv64 -mattr=+m,+zvfh,+a -O1 -verify-machineinstrs
fixed-vectors-select-addsub.af8c236cf2.ll (mutant of fixed-vectors-select-addsub.ll)select_addsub_v8i2-mtriple=riscv32 -verify-machineinstrs -mattr=+a -O1 -code-model=small
fixed-vectors-vor-vp.781b89cadc.ll (mutant of fixed-vectors-vor-vp.ll)vor_vv_v8i7-mtriple=riscv64 -verify-machineinstrs -O1

Generated 2026-11-29 14:49 UTC.