From 63fa690617b24c7889b9f337b6aab7046a09d3a7 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Mon, 20 May 2019 17:52:18 +0000 Subject: [PATCH] [InstSimplify] update stale comment; NFC Missed this diff with rL361118. llvm-svn: 361180 --- llvm/lib/Analysis/InstructionSimplify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Analysis/InstructionSimplify.cpp b/llvm/lib/Analysis/InstructionSimplify.cpp index e7f96b11b0aa..b71841a1607d 100644 --- a/llvm/lib/Analysis/InstructionSimplify.cpp +++ b/llvm/lib/Analysis/InstructionSimplify.cpp @@ -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(m_Value(), m_APFloat(C2))) && C2->compare(*C) == APFloat::cmpLessThan) ||