Move FIXME to start of comment so visual studio actually tags it. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Feb 2020 13:56:23 +0000 (13:56 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Feb 2020 14:28:50 +0000 (14:28 +0000)
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index b840fd4..78e0820 100644 (file)
@@ -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()) {