[PATCH] D14069: [FPEnv Core 04/14] Skip constant folding to preserve FPEnv

Sergey Dmitrouk via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 16:54:29 PST 2015


sdmitrouk added inline comments.

================
Comment at: include/llvm/IR/FastMathFlags.h:38
@@ +37,3 @@
+
+  FastMathFlags() : Flags(0)
+  { }
----------------
joker.eph wrote:
> Shouldn't the default be `NoExceptions | NoRounding` ?
Well, it was initially, and it was easier then, but meaning of flags was changed after comments in D14067 partly to make default value all zeroes.


Repository:
  rL LLVM

http://reviews.llvm.org/D14069





More information about the llvm-commits mailing list