fallback: legalize: G_EXTRACT_VECTOR_ELT s32,<8 x s32>,s64
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT s32,<8 x s32>,s64 NEW |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | combine-storetomstore.f799f8480d.ll (mutant of combine-storetomstore.ll) @test_masked_store_success_invert_mask_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:
@G.2 = external global i32
define void @test_masked_store_success_invert_mask_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> %load, <8 x i32> %x
%E = extractelement <8 x i32> %x, i1 true
store <8 x i32> %sel, ptr %ptr, align 32
store i32 %E, ptr @G.2, align 4
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: %7:_(s32) = G_EXTRACT_VECTOR_ELT %0:_(<8 x s32>), %8:_(s64) (in function: test_masked_store_success_invert_mask_v8i32)
warning: Instruction selection used fallback path for test_masked_store_success_invert_mask_v8i32
Occurrences (1):
| Input | Function | Config |
|---|
| combine-storetomstore.f799f8480d.ll (mutant of combine-storetomstore.ll) | test_masked_store_success_invert_mask_v8i32 | -mtriple=riscv64-- -mattr=+m,+v,+f |
Generated 2026-10-15 08:05 UTC.