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

Run:main-04ca53e65f-20261014-113325
Kind:fallback
Category:legalize: G_SELECT <8 x s32>,<8 x s1>
Occurrences:10 in 1 configs, 1 test files
Snippet from:combine-storetomstore.ll @test_masked_store_success_v8i32 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_v8i32(<8 x i32> %x, ptr %ptr, <8 x i1> %mask) {
  %load = load <8 x i32>, ptr %ptr, align 32
  %sel = select <8 x i1> %mask, <8 x i32> %x, <8 x i32> %load
  store <8 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:_(<8 x s32>) = G_SELECT %2:_(<8 x s1>), %0:_, %5:_ (in function: test_masked_store_success_v8i32)
warning: Instruction selection used fallback path for test_masked_store_success_v8i32

Occurrences (10):

InputFunctionConfig
combine-storetomstore.lltest_masked_store_success_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_success_v8f32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_success_invert_mask_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_volatile_load-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_volatile_store-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_intervening-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_multiple_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_unaligned_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.4cc29eb6b2.ll (mutant of combine-storetomstore.ll)test_masked_store_multiple_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.59bbcde4c6.ll (mutant of combine-storetomstore.ll)test_masked_store_unaligned_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f

Generated 2026-10-15 08:05 UTC.