search for: issafetooptimizefpop

Displaying 2 results from an estimated 2 matches for "issafetooptimizefpop".

2014 Sep 19
2
[LLVMdev] More careful treatment of floating point exceptions
Hi Sanjay, Thanks, I saw this flag and it's definitely should be considered, but it appeared to me to be static characteristic of target platform. I'm not sure how appropriate it would be to change its value from a front-end. It says "Has", while optional flag would rather say "Uses" meaning that implementation cares about floating point exceptions. Regards, Sergey
2014 Sep 25
2
[LLVMdev] More careful treatment of floating point exceptions
...11 @@ private: SDValue N1, SDValue N2, bool nuw, bool nsw, bool exact); + /// Checks whether it's safe to replace floating point operation with it's + /// result. UnsafeOps is bit mask of unacceptable exceptions. + bool isSafeToOptimizeFPOp(APFloat::opStatus s, + APFloat::opStatus UnsafeOps) const; + /// VTList - List of non-single value types. FoldingSet<SDVTListNode> VTListMap; diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index e2ead47..d5...