fallback: legalize: G_EXTRACT_VECTOR_ELT s16,<4 x s16>,s64
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT s16,<4 x s16>,s64 |
| Occurrences: | 4 in 2 configs, 2 test files |
| Snippet from: | rvp-simd-64.ll @test_extract_vector_16 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 i16 @test_extract_vector_16(<4 x i16> %a) {
%extracted = extractelement <4 x i16> %a, i32 0
ret i16 %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:_(s16) = G_EXTRACT_VECTOR_ELT %0:_(<4 x s16>), %2:_(s64) (in function: test_extract_vector_16)
warning: Instruction selection used fallback path for test_extract_vector_16
Occurrences (4):
| Input | Function | Config |
|---|
| pr92193.ll | foo | -mtriple=riscv64-unknown-linux-gnu |
| rvp-simd-64.ll | test_extract_vector_16 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| pr92193.077b332f2f.ll (mutant of pr92193.ll) | foo | -mtriple=riscv64-unknown-linux-gnu |
| pr92193.43e3a04280.ll (mutant of pr92193.ll) | foo | -mtriple=riscv64-unknown-linux-gnu |
Generated 2026-10-15 08:05 UTC.