fallback: legalize: G_FPEXT <N x f64>,<N x f32>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_FPEXT <N x f64>,<N x f32> M |
| Occurrences: | 4 in 2 configs, 1 test files, 1 more counted only |
| Snippet from: | fixed-vectors-fpext-vp.c74999c619.ll (mutant of fixed-vectors-fpext-vp.ll) @vfpext_v2f32_v2f64_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i32
define <2 x double> @vfpext_v2f32_v2f64_unmasked(<2 x float> %a, i32 zeroext %vl) {
%B = urem i32 %vl, %vl
%v = fpext <2 x float> %a to <2 x double>
store i32 %B, ptr @G.1, align 4
ret <2 x double> %v
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x f64>) = G_FPEXT %0:_(<2 x f32>) (in function: vfpext_v2f32_v2f64_unmasked)
warning: Instruction selection used fallback path for vfpext_v2f32_v2f64_unmasked
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-fpext-vp.8ebb08ce2a.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v15f32_v15f64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin -O3 |
| fixed-vectors-fpext-vp.c74999c619.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v2f32_v2f64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin -O2 |
| fixed-vectors-fpext-vp.d189ed9a28.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v2f32_v2f64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin -O3 |
| fixed-vectors-fpext-vp.d189ed9a28.ll (mutant of fixed-vectors-fpext-vp.ll) | vfpext_v15f32_v15f64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin -O3 |
Generated 2026-11-29 14:49 UTC.