fallback: legalize: G_FEXP10

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_FEXP10
Occurrences:26 in 14 configs, 3 test files
Snippet from:llvm.exp10.ll @exp10_v1f16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <1 x half> @exp10_v1f16(<1 x half> %x) {
  %r = call <1 x half> @llvm.exp10.v1f16(<1 x half> %x)
  ret <1 x half> %r
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <1 x half> @llvm.exp10.v1f16(<1 x half>) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %3:_(f16) = G_FEXP10 %0:_ (in function: exp10_v1f16)
warning: Instruction selection used fallback path for exp10_v1f16

Occurrences (26) (first 15):

InputFunctionConfig
fp128.llexp10-mtriple=riscv32
fp128.lltest_fexp10-mtriple=riscv32
fp128.llexp10-mtriple=riscv32 -mattr=+d
fp128.lltest_fexp10-mtriple=riscv32 -mattr=+d
half-intrinsics.llexp10_f16-mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d
half-intrinsics.llexp10_f16-mtriple=riscv32 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32d
half-intrinsics.llexp10_f16-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f
half-intrinsics.llexp10_f16-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f
half-intrinsics.llexp10_f16-mtriple=riscv32 -verify-machineinstrs
half-intrinsics.llexp10_f16-mtriple=riscv64 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi lp64d
half-intrinsics.llexp10_f16-mtriple=riscv64 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi lp64d
half-intrinsics.llexp10_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f
half-intrinsics.llexp10_f16-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -target-abi lp64f
half-intrinsics.llexp10_f16-mtriple=riscv64 -verify-machineinstrs
llvm.exp10.llexp10_v1f16-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d

Generated 2026-11-29 14:49 UTC.