[PATCH] D31167: Use FPContractModeKind universally

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 10 12:38:04 PDT 2017


hfinkel added inline comments.


================
Comment at: cfe/trunk/lib/Frontend/CompilerInvocation.cpp:1638
     Opts.LaxVectorConversions = 0;
-    Opts.DefaultFPContract = 1;
+    Opts.setDefaultFPContractMode(LangOptions::FPC_On);
     Opts.NativeHalfType = 1;
----------------
Looks like the intent is certainly to have kept the OpenCL default the same here.


Repository:
  rL LLVM

https://reviews.llvm.org/D31167





More information about the cfe-commits mailing list