fallback: legalize: G_EXTRACT_VECTOR_ELT s32,<2 x s32>,s64

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_EXTRACT_VECTOR_ELT s32,<2 x s32>,s64
Occurrences:8 in 7 configs, 2 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 04ca53e65f
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 (8):

InputFunctionConfig
rvp-simd-64.lltest_extract_vector_32-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_extract_vector_32_elem1-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
fp-fcanonicalize.118628e698.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f32--mtriple=riscv64 --mattr=+d,-zfh
fp-fcanonicalize.2618247d85.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f32-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs
fp-fcanonicalize.38ff79c14a.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f32-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs
fp-fcanonicalize.4742b3806e.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f32--mtriple=riscv64 --mattr=+d,+zfh
fp-fcanonicalize.5de1867197.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f32-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs
fp-fcanonicalize.f4033dd9fb.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f32--mtriple=riscv64

Generated 2026-10-15 08:05 UTC.