fallback: legalize: G_FPOWI <N x f32>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_FPOWI <N x f32> M
Occurrences:4 in 2 configs, 1 test files, 9 more counted only
Snippet from:fixed-vectors-fpowi.1493b08c42.ll (mutant of fixed-vectors-fpowi.ll) @powi_v3f32 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <3 x float>

; Function Attrs: nounwind
define <3 x float> @powi_v3f32(<3 x float> %x, i32 %y) #0 {
  %a = call <3 x float> @llvm.powi.v3f32.i32(<3 x float> %x, i32 %y)
  store <3 x float> %a, ptr @G, align 16
  ret <3 x float> %a
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <3 x float> @llvm.powi.v3f32.i32(<3 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 -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %6:_(<3 x f32>) = G_FPOWI %0:_, %1:_(i32) (in function: powi_v3f32)
warning: Instruction selection used fallback path for powi_v3f32

Occurrences (4):

InputFunctionConfig
fixed-vectors-fpowi.1493b08c42.ll (mutant of fixed-vectors-fpowi.ll)powi_v3f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d -O1
fixed-vectors-fpowi.1493b08c42.ll (mutant of fixed-vectors-fpowi.ll)powi_v4f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d -O1
fixed-vectors-fpowi.725f9f252d.ll (mutant of fixed-vectors-fpowi.ll)powi_v2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zbkb -O1
fixed-vectors-fpowi.725f9f252d.ll (mutant of fixed-vectors-fpowi.ll)powi_v3f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zbkb -O1

Generated 2026-11-29 14:49 UTC.