fallback: legalize: G_FPEXT <N x f32>,<N x bf16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_FPEXT <N x f32>,<N x bf16> M |
| Occurrences: | 4 in 3 configs, 2 test files, 14 more counted only |
| Snippet from: | fixed-vectors-fpext-vp.89a774559b.ll (mutant of fixed-vectors-fpext-vp.ll) @vfpext_v2bf16_v2f32_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zfh -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x float> @vfpext_v2bf16_v2f32_unmasked(<2 x bfloat> %a, i32 zeroext %vl) {
%A = alloca i32, align 4
store i32 poison, ptr %A, align 4
%B = xor i32 %vl, 1
%v = fpext <2 x bfloat> %a to <2 x float>
store i32 %B, ptr %A, align 4
ret <2 x float> %v
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zfh -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zfh -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %11:_(<2 x f32>) = G_FPEXT %0:_(<2 x bf16>) (in function: vfpext_v2bf16_v2f32_unmasked)
warning: Instruction selection used fallback path for vfpext_v2bf16_v2f32_unmasked
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-fpext-vp.885e16d3ca.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v2bf16_v2f32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+m -O1 |
| fixed-vectors-fpext-vp.89a774559b.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v2bf16_v2f32_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zfh -O1 |
| fixed-vectors-scalarized.5ad29bcdb7.ll (mutant of fixed-vectors-scalarized.ll) | fpext_v8bf16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zicsr -O1 |
| fixed-vectors-scalarized.5ad29bcdb7.ll (mutant of fixed-vectors-scalarized.ll) | fpext_v8f16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zicsr -O1 |
Generated 2026-11-29 14:49 UTC.