fallback: legalize: G_STRICT_FSQRT s16

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_STRICT_FSQRT s16
Occurrences:48 in 24 configs, 3 test files
Snippet from:half-arith-strict.ll @fsqrt_h via llvm-extract
Config:-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind strictfp
define half @fsqrt_h(half %a) #0 {
  %1 = call half @llvm.experimental.constrained.sqrt.f16(half %a, metadata !"round.dynamic", metadata !"fpexcept.strict") #2
  ret half %1
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare half @llvm.experimental.constrained.sqrt.f16(half, metadata, metadata) #1

attributes #0 = { nounwind strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
attributes #2 = { strictfp }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %1:_(s16) = G_STRICT_FSQRT %0:_ (in function: fsqrt_h)
warning: Instruction selection used fallback path for fsqrt_h

Occurrences (48):

InputFunctionConfig
half-arith-strict.llfsqrt_h-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
half-arith-strict.llfsqrt_h-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
half-arith-strict.llfsqrt_h-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32
half-arith-strict.llfsqrt_h-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32
half-arith-strict.llfsqrt_h-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f
half-arith-strict.llfsqrt_h-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f
half-arith-strict.llfsqrt_h-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64
half-arith-strict.llfsqrt_h-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64
zfh-half-intrinsics-strict.llsqrt_f16-mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d -disable-strictnode-mutation
zfh-half-intrinsics-strict.llsqrt_f16-mtriple=riscv32 -mattr=+zdinx -mattr=+zhinx -verify-machineinstrs -target-abi ilp32
zfh-half-intrinsics-strict.llsqrt_f16-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f -disable-strictnode-mutation
zfh-half-intrinsics-strict.llsqrt_f16-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation
zfh-half-intrinsics-strict.llsqrt_f16-mtriple=riscv64 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi lp64d -disable-strictnode-mutation
zfh-half-intrinsics-strict.llsqrt_f16-mtriple=riscv64 -mattr=+zdinx -mattr=+zhinx -verify-machineinstrs -target-abi lp64
zfh-half-intrinsics-strict.llsqrt_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
zfh-half-intrinsics-strict.llsqrt_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.llsqrt_f16-mtriple=riscv32 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32d -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.llsqrt_f16-mtriple=riscv32 -mattr=+zdinx -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32
zfhmin-half-intrinsics-strict.llsqrt_f16-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.llsqrt_f16-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.llsqrt_f16-mtriple=riscv64 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi lp64d -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.llsqrt_f16-mtriple=riscv64 -mattr=+zdinx -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64
zfhmin-half-intrinsics-strict.llsqrt_f16-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.llsqrt_f16-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
half-arith-strict.088f12efaa.ll (mutant of half-arith-strict.ll)fsqrt_h-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f
half-arith-strict.1351cf48b9.ll (mutant of half-arith-strict.ll)fsqrt_h-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f
half-arith-strict.2431544ce9.ll (mutant of half-arith-strict.ll)fsqrt_h-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64
half-arith-strict.2b285d5f8a.ll (mutant of half-arith-strict.ll)fsqrt_h-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32
half-arith-strict.4174130f69.ll (mutant of half-arith-strict.ll)fsqrt_h-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64
half-arith-strict.bbc41e0558.ll (mutant of half-arith-strict.ll)fsqrt_h-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
half-arith-strict.dc33ba390c.ll (mutant of half-arith-strict.ll)fsqrt_h-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
half-arith-strict.eb178941cc.ll (mutant of half-arith-strict.ll)fsqrt_h-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32
zfh-half-intrinsics-strict.2ce57336ba.ll (mutant of zfh-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv64 -mattr=+zdinx -mattr=+zhinx -verify-machineinstrs -target-abi lp64
zfh-half-intrinsics-strict.3cdf353857.ll (mutant of zfh-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
zfh-half-intrinsics-strict.598e70cd3a.ll (mutant of zfh-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation
zfh-half-intrinsics-strict.8c3e41661a.ll (mutant of zfh-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv64 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi lp64d -disable-strictnode-mutation
zfh-half-intrinsics-strict.93ea6a062e.ll (mutant of zfh-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv32 -mattr=+zdinx -mattr=+zhinx -verify-machineinstrs -target-abi ilp32
zfh-half-intrinsics-strict.a78b94407b.ll (mutant of zfh-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f -disable-strictnode-mutation
zfh-half-intrinsics-strict.c3b8e3a1c6.ll (mutant of zfh-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d -disable-strictnode-mutation
zfh-half-intrinsics-strict.ca1547f150.ll (mutant of zfh-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.2018e56f35.ll (mutant of zfhmin-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.2e24e4fd02.ll (mutant of zfhmin-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.32c2108ac6.ll (mutant of zfhmin-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv64 -mattr=+zdinx -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64
zfhmin-half-intrinsics-strict.379f3baf98.ll (mutant of zfhmin-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv32 -mattr=+zdinx -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32
zfhmin-half-intrinsics-strict.3f204b0aaf.ll (mutant of zfhmin-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.8d7499ac06.ll (mutant of zfhmin-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv32 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32d -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.a8a62a4fc6.ll (mutant of zfhmin-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -target-abi lp64f -disable-strictnode-mutation
zfhmin-half-intrinsics-strict.e2e25b0647.ll (mutant of zfhmin-half-intrinsics-strict.ll)sqrt_f16-mtriple=riscv64 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi lp64d -disable-strictnode-mutation

Generated 2026-10-15 08:05 UTC.