[PATCH] D104479: [PartiallyInlineLibCalls] Disable sqrt expansion for strictfp.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 17 11:50:49 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/test/Transforms/PartiallyInlineLibCalls/strictfp.ll:8
+; CHECK-NOT: call{{.*}}@sqrtf
+  %res = tail call float @sqrtf(float %val) strictfp
+  ret float %res
----------------
kpn wrote:
> There is a constrained sqrt. It seems like not emitting it is the real bug.
>From the frontend?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104479/new/

https://reviews.llvm.org/D104479



More information about the llvm-commits mailing list