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