enable fast-math-flag propagation to DAG nodes
authorSanjay Patel <spatel@rotateright.com>
Thu, 30 Jul 2015 21:06:55 +0000 (21:06 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 30 Jul 2015 21:06:55 +0000 (21:06 +0000)
This uncovered latent bugs previously:
http://reviews.llvm.org/D10403

...but it's time to try again because internal tests aren't finding more.

If time passes and no other bugs are reported, we can remove this cl::opt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243687 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index 702e14bbcc3c21f6928ac5b2ab4a813b54bc00ff..22e1be94ef01a12b95e5ad79f848d2d288807feb 100644 (file)
@@ -79,7 +79,7 @@ LimitFPPrecision("limit-float-precision",
                  cl::init(0));
 
 static cl::opt<bool>
-EnableFMFInDAG("enable-fmf-dag", cl::init(false), cl::Hidden,
+EnableFMFInDAG("enable-fmf-dag", cl::init(true), cl::Hidden,
                 cl::desc("Enable fast-math-flags for DAG nodes"));
 
 // Limit the width of DAG chains. This is important in general to prevent