fallback: legalize: G_FPOWI <N x f32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_FPOWI <N x f32> M |
| Occurrences: | 4 in 3 configs, 1 test files, 6 more counted only |
| Snippet from: | fixed-vectors-fpowi.e69fa5675a.ll (mutant of fixed-vectors-fpowi.ll) @powi_v4f32 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zfhmin -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define <4 x float> @powi_v4f32(<4 x float> %x, i32 %y) #0 {
%a = call <4 x float> @llvm.powi.v4f32.i32(<4 x float> %x, i32 %y)
%B = frem <4 x float> %a, %x
ret <4 x float> %B
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.powi.v4f32.i32(<4 x float>, i32) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zfhmin -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zfhmin -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %7:_(<4 x f32>) = G_FPOWI %0:_, %1:_(i32) (in function: powi_v4f32)
warning: Instruction selection used fallback path for powi_v4f32
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-fpowi.333ed2c55a.ll (mutant of fixed-vectors-fpowi.ll) | powi_v2f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O2 |
| fixed-vectors-fpowi.333ed2c55a.ll (mutant of fixed-vectors-fpowi.ll) | powi_v8f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O2 |
| fixed-vectors-fpowi.95634df475.ll (mutant of fixed-vectors-fpowi.ll) | powi_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d -O3 -code-model=small |
| fixed-vectors-fpowi.e69fa5675a.ll (mutant of fixed-vectors-fpowi.ll) | powi_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zfhmin -O3 |
Generated 2026-11-29 14:49 UTC.