fallback: legalize: G_SELECT <N x i32>,<N x i1>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_SELECT <N x i32>,<N x i1>
Occurrences:150 in 9 configs, 8 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 d9924131a4
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 i32>) = G_SELECT %2:_(<4 x i1>), %0:_, %5:_ (in function: test_masked_store_success_v4i32)
warning: Instruction selection used fallback path for test_masked_store_success_v4i32

Occurrences (150) (first 15):

InputFunctionConfig
combine-storetomstore.lltest_masked_store_success_v4i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_success_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_success_v16i32-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_success_invert_mask_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_success_invert_mask_v16i32-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_v4i32-mtriple=riscv64-- -mattr=+m,+v,+f
combine-storetomstore.lltest_masked_store_unaligned_v8i32-mtriple=riscv64-- -mattr=+m,+v,+f
rvp-shift-splat-legalization.llsshl_sat_v2i32-mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-shift-splat-legalization.llsshl_sat_v2i32-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_psadd_w-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.