fallback: legalize: G_EXTRACT_VECTOR_ELT <N x f16>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT <N x f16> M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | fixed-vectors-fp-conv.201f6f38a6.ll (mutant of fixed-vectors-fp-conv.ll) @fpround_v2f32_v2f16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global half
define void @fpround_v2f32_v2f16(ptr %x, ptr %y) {
%a = load <2 x float>, ptr %x, align 8
%d = fptrunc <2 x float> %a to <2 x half>
store <2 x half> %d, ptr %y, align 4
%E = extractelement <2 x half> %d, i128 18446744073709551616
store half %E, ptr @G.2, align 2
ret void
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %4:_(f16) = G_EXTRACT_VECTOR_ELT %3:_(<2 x f16>), %5:_(i32) (in function: fpround_v2f32_v2f16)
warning: Instruction selection used fallback path for fpround_v2f32_v2f16
Occurrences (2):
| Input | Function | Config |
|---|
| fixed-vectors-fp-conv.201f6f38a6.ll (mutant of fixed-vectors-fp-conv.ll) | fpround_v2f32_v2f16 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs |
| fixed-vectors-fp-conv.5aed94fac5.ll (mutant of fixed-vectors-fp-conv.ll) | fpround_v2f32_v2f16 | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.