fallback: legalize: G_FPOW

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_FPOW
Occurrences:24 in 12 configs, 2 test files
Snippet from:half-intrinsics.ll @pow_f16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define half @pow_f16(half %a, half %b) #0 {
  %1 = call half @llvm.pow.f16(half %a, half %b)
  ret half %1
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare half @llvm.pow.f16(half, half) #1

attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %2:_(f16) = G_FPOW %0:_, %1:_ (in function: pow_f16)
warning: Instruction selection used fallback path for pow_f16

Occurrences (24) (first 15):

InputFunctionConfig
fp128.llpow-mtriple=riscv32
fp128.lltest_fpow-mtriple=riscv32
fp128.llpow-mtriple=riscv32 -mattr=+d
fp128.lltest_fpow-mtriple=riscv32 -mattr=+d
half-intrinsics.llpow_f16-mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d
half-intrinsics.llpow_f16-mtriple=riscv32 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32d
half-intrinsics.llpow_f16-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f
half-intrinsics.llpow_f16-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f
half-intrinsics.llpow_f16-mtriple=riscv32 -verify-machineinstrs
half-intrinsics.llpow_f16-mtriple=riscv64 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi lp64d
half-intrinsics.llpow_f16-mtriple=riscv64 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi lp64d
half-intrinsics.llpow_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f
half-intrinsics.llpow_f16-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -target-abi lp64f
half-intrinsics.llpow_f16-mtriple=riscv64 -verify-machineinstrs
half-intrinsics.2f73fc0b9b.ll (mutant of half-intrinsics.ll)pow_f16-mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d

Generated 2026-11-29 14:49 UTC.