fallback: legalize: G_SELECT <4 x s32>,<4 x s1>
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_SELECT <4 x s32>,<4 x s1> |
| Occurrences: | 7 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 bc8218b282 |
| 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 (7):
| Input | Function | Config |
|---|
| combine-storetomstore.ll | test_masked_store_success_v4i32 | -mtriple=riscv64-- -mattr=+m,+v,+f |
| combine-storetomstore.ll | test_masked_store_success_v4f32 | -mtriple=riscv64-- -mattr=+m,+v,+f |
| combine-storetomstore.ll | test_masked_store_success_invert_mask_v4i32 | -mtriple=riscv64-- -mattr=+m,+v,+f |
| combine-storetomstore.ll | test_masked_store_unaligned_v4i32 | -mtriple=riscv64-- -mattr=+m,+v,+f |
| combine-storetomstore.59bbcde4c6.ll (mutant of combine-storetomstore.ll) | test_masked_store_success_v4i32 | -mtriple=riscv64-- -mattr=+m,+v,+f |
| combine-storetomstore.a13fce9c96.ll (mutant of combine-storetomstore.ll) | test_masked_store_success_v4i32 | -mtriple=riscv64-- -mattr=+m,+v,+f |
| combine-storetomstore.fb3a9c2f3c.ll (mutant of combine-storetomstore.ll) | test_masked_store_success_v4f32 | -mtriple=riscv64-- -mattr=+m,+v,+f |
Generated 2026-10-15 08:05 UTC.