[llvm] 3217613 - Move FIXME to start of comment so visual studio actually tags it. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 06:29:01 PST 2020


Author: Simon Pilgrim
Date: 2020-02-13T14:28:50Z
New Revision: 32176133fa29389fdffe37bb26630d883ad1ecdf

URL: https://github.com/llvm/llvm-project/commit/32176133fa29389fdffe37bb26630d883ad1ecdf
DIFF: https://github.com/llvm/llvm-project/commit/32176133fa29389fdffe37bb26630d883ad1ecdf.diff

LOG: Move FIXME to start of comment so visual studio actually tags it. NFC.

Added: 
    

Modified: 
    llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index b840fd4a048b..78e0820089ca 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -13399,9 +13399,10 @@ SDValue DAGCombiner::visitFNEG(SDNode *N) {
       TargetLowering::NegatibleCost::Expensive)
     return TLI.getNegatedExpression(N0, DAG, LegalOperations, ForCodeSize);
 
-  // -(X-Y) -> (Y-X) is unsafe because when X==Y, -0.0 != +0.0 FIXME: This is
-  // duplicated in getNegatibleCost, but getNegatibleCost doesn't know it
-  // was called from a context with a nsz flag if the input fsub does not.
+  // -(X-Y) -> (Y-X) is unsafe because when X==Y, -0.0 != +0.0
+  // FIXME: This is duplicated in getNegatibleCost, but getNegatibleCost doesn't
+  // know it was called from a context with a nsz flag if the input fsub does
+  // not.
   if (N0.getOpcode() == ISD::FSUB &&
       (DAG.getTarget().Options.NoSignedZerosFPMath ||
        N->getFlags().hasNoSignedZeros()) && N0.hasOneUse()) {


        


More information about the llvm-commits mailing list