fallback: legalize: G_EXTRACT_VECTOR_ELT <N x f64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT <N x f64> M |
| Occurrences: | 3 in 3 configs, 1 test files, 95 more counted only |
| Snippet from: | fixed-vectors-extract.3c327ed23b.ll (mutant of fixed-vectors-extract.ll) @extractelt_v2f64 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zfbfmin,+zvfbfmin,+f,+d,+m -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i1
; Function Attrs: nounwind
define double @extractelt_v2f64(<2 x double> %a) #0 {
%C = icmp sle i1 false, false
%b = extractelement <2 x double> %a, i32 0
store i1 %C, ptr @G.3, align 1
ret double %b
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zfbfmin,+zvfbfmin,+f,+d,+m -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zfbfmin,+zvfbfmin,+f,+d,+m -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %4:_(f64) = G_EXTRACT_VECTOR_ELT %0:_(<2 x f64>), %5:_(i32) (in function: extractelt_v2f64)
warning: Instruction selection used fallback path for extractelt_v2f64
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-extract.1fb8ddf3f1.ll (mutant of fixed-vectors-extract.ll) | store_extractelt_v2f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+f,+d,+m,+a -O0 |
| fixed-vectors-extract.3c327ed23b.ll (mutant of fixed-vectors-extract.ll) | extractelt_v2f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zfbfmin,+zvfbfmin,+f,+d,+m -O1 |
| fixed-vectors-extract.b362ab02c9.ll (mutant of fixed-vectors-extract.ll) | store_extractelt_v2f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+f,+m,+a -O3 |
Generated 2026-11-29 14:49 UTC.