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

Cameron McInally via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 13:55:56 PST 2020


cameron.mcinally added inline comments.


================
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:3436
+    }
+  }
+
----------------
I don't think it's safe to fuse a FMUL and FADD if the intermediate rounding isn't exactly the same as those individual operations. FMULADD doesn't guarantee that, does it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72820





More information about the cfe-commits mailing list