fallback: legalize: G_SELECT <4 x s32>,<4 x s1>

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_SELECT <4 x s32>,<4 x s1>
Occurrences:5 in 1 configs, 1 test files
Snippet from:combine-storetomstore.ll @test_masked_store_success_v4i32 via llvm-extract
Config:-mtriple=riscv64-- -mattr=+m,+v,+f
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @test_masked_store_success_v4i32(<4 x i32> %x, ptr %ptr, <4 x i1> %mask) {
  %load = load <4 x i32>, ptr %ptr, align 32
  %sel = select <4 x i1> %mask, <4 x i32> %x, <4 x i32> %load
  store <4 x i32> %sel, ptr %ptr, align 32
  ret void
}

Reproduce:

llc -mtriple=riscv64-- -mattr=+m,+v,+f -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64-- -mattr=+m,+v,+f -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %6:_(<4 x s32>) = G_SELECT %2:_(<4 x s1>), %0:_, %5:_ (in function: test_masked_store_success_v4i32)
warning: Instruction selection used fallback path for test_masked_store_success_v4i32

Occurrences (5):

InputFunctionConfig
combine-storetomstore.lltest_masked_store_success_v4i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_success_v4f32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_success_invert_mask_v4i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_unaligned_v4i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.37bf375318.ll (mutant of combine-storetomstore.ll)test_masked_store_unaligned_v4i32-mtriple=riscv64-- -mattr=+m,+v,+f

Generated 2026-10-15 08:05 UTC.