aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-07-30 21:06:55 +0000
committerSanjay Patel <spatel@rotateright.com>2015-07-30 21:06:55 +0000
commita93cf60a773dadbb679119869589e6f42824e310 (patch)
tree17898d2cf636bae3c3cfc3f4e970fc4fc2adbb4f
parent043717d5724b88c313d6bb6a82e28d92088636b9 (diff)
downloadllvm-a93cf60a773dadbb679119869589e6f42824e310.zip
llvm-a93cf60a773dadbb679119869589e6f42824e310.tar.gz
llvm-a93cf60a773dadbb679119869589e6f42824e310.tar.bz2
enable fast-math-flag propagation to DAG nodes
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. llvm-svn: 243687
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 702e14b..22e1be9 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -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