fallback: legalize: G_EXTRACT_VECTOR_ELT s32,<2 x s32>,s64
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT s32,<2 x s32>,s64 |
| Occurrences: | 4 in 2 configs, 3 test files |
| Snippet from: | rvp-simd-64.ll @test_extract_vector_32 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i32 @test_extract_vector_32(<2 x i32> %a) {
%extracted = extractelement <2 x i32> %a, i32 0
ret i32 %extracted
}
Reproduce:
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %1:_(s32) = G_EXTRACT_VECTOR_ELT %0:_(<2 x s32>), %2:_(s64) (in function: test_extract_vector_32)
warning: Instruction selection used fallback path for test_extract_vector_32
Occurrences (4):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_extract_vector_32 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_extract_vector_32_elem1 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-bitreverse-zbkb.885fd062a9.ll (mutant of rvp-bitreverse-zbkb.ll) | test_bitreverse_v2i32 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb,+zbkb -verify-machineinstrs |
| rvp-reverse.0164beb450.ll (mutant of rvp-reverse.ll) | test_prev_v2i32 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.