]> granicus.if.org Git - llvm/commitdiff
[InstSimplify] update stale comment; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 20 May 2019 17:52:18 +0000 (17:52 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 20 May 2019 17:52:18 +0000 (17:52 +0000)
Missed this diff with rL361118.

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

lib/Analysis/InstructionSimplify.cpp

index e7f96b11b0aa9fa641c73059271ccaeb595b6d6f..b71841a1607dc15b3165c715bdffe347892a5e18 100644 (file)
@@ -3434,7 +3434,7 @@ static Value *SimplifyFCmpInst(unsigned Predicate, Value *LHS, Value *RHS,
       }
     }
 
-    // Check comparison of constant with minnum with smaller constant.
+    // Check comparison of [minnum/maxnum with constant] with other constant.
     const APFloat *C2;
     if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) &&
          C2->compare(*C) == APFloat::cmpLessThan) ||