[PATCH] D72820: [FPEnv] Add pragma FP_CONTRACT support under strict FP.

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 17:57:21 PST 2023


Allen added inline comments.
Herald added a project: All.


================
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:3386
+    FMulAdd = Builder.CreateConstrainedFPCall(
+        CGF.CGM.getIntrinsic(llvm::Intrinsic::experimental_constrained_fmuladd,
+                             Addend->getType()),
----------------
Sorry, I'm not familiar with the optimization of the clang front end. 
I'd like to ask, is this optimization supposed to assume that all the backends have instructions like Fmuladd?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72820



More information about the llvm-commits mailing list