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

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_STORE <16 x s1>,p0 NEW
Occurrences:6 in 2 configs, 1 test files
Snippet from:fastcc-int.201ad5c8f7.ll (mutant of fastcc-int.ll) @callee via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <16 x i1>
@G.2 = external global i1

; Function Attrs: nounwind
define fastcc i32 @callee(<16 x i32> %A) #0 {
  %C = icmp uge <16 x i32> %A, %A
  %B = extractelement <16 x i32> %A, i32 0
  store <16 x i1> %C, ptr @G.1, align 2
  %C1 = fcmp ult double 4.200000e+01, 4.940660e-324
  store i1 %C1, ptr @G.2, align 1
  ret i32 %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: G_STORE %22:_(<16 x s1>), %25:_(p0) :: (store (<16 x s1>) into @G.1) (in function: callee)
warning: Instruction selection used fallback path for callee

Occurrences (6):

InputFunctionConfig
fastcc-int.201ad5c8f7.ll (mutant of fastcc-int.ll)callee-mtriple=riscv64 -verify-machineinstrs
fastcc-int.5331925e7a.ll (mutant of fastcc-int.ll)caller-mtriple=riscv64 -verify-machineinstrs
fastcc-int.8ae2a4efed.ll (mutant of fastcc-int.ll)callee-mtriple=riscv32 -verify-machineinstrs
fastcc-int.8e0b13f606.ll (mutant of fastcc-int.ll)caller-mtriple=riscv32 -verify-machineinstrs
fastcc-int.a96b970a9c.ll (mutant of fastcc-int.ll)callee-mtriple=riscv64 -verify-machineinstrs
fastcc-int.dd894a1229.ll (mutant of fastcc-int.ll)callee-mtriple=riscv32 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.