fallback: legalize: G_FPEXT <N x f32>,<N x bf16>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_FPEXT <N x f32>,<N x bf16> M |
| Occurrences: | 4 in 3 configs, 1 test files, 12 more counted only |
| Snippet from: | fixed-vectors-scalarized.110e392fe1.ll (mutant of fixed-vectors-scalarized.ll) @fpext_v8f16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i16
@G.1 = external global i1
define <8 x float> @fpext_v8f16(<8 x bfloat> %x) {
%LGV = load i16, ptr @G, align 2
%y = fpext <8 x bfloat> %x to <8 x float>
%C = icmp sle i16 %LGV, -1
store i1 %C, ptr @G.1, align 1
ret <8 x float> %y
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<8 x f32>) = G_FPEXT %0:_(<8 x bf16>) (in function: fpext_v8f16)
warning: Instruction selection used fallback path for fpext_v8f16
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-scalarized.110e392fe1.ll (mutant of fixed-vectors-scalarized.ll) | fpext_v8f16 | -mtriple=riscv64 -verify-machineinstrs -O0 |
| fixed-vectors-scalarized.41751207a2.ll (mutant of fixed-vectors-scalarized.ll) | fpext_v8bf16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+c -O0 |
| fixed-vectors-scalarized.41751207a2.ll (mutant of fixed-vectors-scalarized.ll) | fpext_v8f16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+c -O0 |
| fixed-vectors-scalarized.ceaf059cc0.ll (mutant of fixed-vectors-scalarized.ll) | fpext_v8bf16 | -mtriple=riscv64 -verify-machineinstrs -O1 |
Generated 2026-11-29 14:49 UTC.