fallback: legalize: G_EXTRACT_VECTOR_ELT <N x f64>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT <N x f64> M |
| Occurrences: | 4 in 4 configs, 3 test files, 114 more counted only |
| Snippet from: | fixed-vectors-extract.3934806cf7.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,+zba -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define double @extractelt_v2f64(<2 x double> %a) #0 {
%A = alloca i1, align 1
store i1 poison, ptr %A, align 1
%C = fcmp ogt bfloat 1.000000e+00, 1.000000e+00
%b = extractelement <2 x double> %a, i32 0
store i1 %C, ptr %A, 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,+zba -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,+zba -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(f64) = G_EXTRACT_VECTOR_ELT %0:_(<2 x f64>), %7:_(i32) (in function: extractelt_v2f64)
warning: Instruction selection used fallback path for extractelt_v2f64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-extract.3934806cf7.ll (mutant of fixed-vectors-extract.ll) | extractelt_v2f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zfbfmin,+zvfbfmin,+f,+d,+m,+zba -O1 |
| fixed-vectors-extract.44fd3297b4.ll (mutant of fixed-vectors-extract.ll) | store_extractelt_v2f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zfbfmin,+zvfbfmin,+f,+d,+m,+a,+zfh -O1 |
| fixed-vectors-uitofp-vp.2efb88511c.ll (mutant of fixed-vectors-uitofp-vp.ll) | vuitofp_v4f64_v4i64 | -mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs |
| fixed-vectors-vfsqrt-constrained-sdnode.5c93905611.ll (mutant of fixed-vectors-vfsqrt-constrained-sdnode.ll) | vfsqrt_v8f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O3 |
Generated 2026-11-29 14:49 UTC.