fallback: legalize: G_FPEXT <N x f32>,<N x bf16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_FPEXT <N x f32>,<N x bf16> M |
| Occurrences: | 5 in 4 configs, 2 test files, 31 more counted only |
| Snippet from: | fixed-vectors-fpext-vp.58b2145dee.ll (mutant of fixed-vectors-fpext-vp.ll) @vfpext_v2bf16_v2f32_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zicsr -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.5 = external global i64
define <2 x float> @vfpext_v2bf16_v2f32_unmasked(<2 x bfloat> %a, i32 zeroext %vl) {
%B = xor i64 0, -1
%v = fpext <2 x bfloat> %a to <2 x float>
store i64 %B, ptr @G.5, align 4
ret <2 x float> %v
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zicsr -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zicsr -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %10:_(<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 (5):
| Input | Function | Config |
|---|
| fixed-vectors-fpext-vp.3e66f9add1.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v2bf16_v2f32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin -O2 |
| fixed-vectors-fpext-vp.3e66f9add1.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v2bf16_v2f32_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin -O2 |
| fixed-vectors-fpext-vp.58b2145dee.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v2bf16_v2f32_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zicsr -O1 |
| fixed-vectors-fpext-vp.c4f0066673.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v2bf16_v2f32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+zfhmin -O1 -code-model=medium |
| fixed-vectors-scalarized.47a029109a.ll (mutant of fixed-vectors-scalarized.ll) | fpext_v8f16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x -O3 |
Generated 2026-11-29 14:49 UTC.