[llvm] r361180 - [InstSimplify] update stale comment; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 10:52:18 PDT 2019
Author: spatel
Date: Mon May 20 10:52:18 2019
New Revision: 361180
URL: http://llvm.org/viewvc/llvm-project?rev=361180&view=rev
Log:
[InstSimplify] update stale comment; NFC
Missed this diff with rL361118.
Modified:
llvm/trunk/lib/Analysis/InstructionSimplify.cpp
Modified: llvm/trunk/lib/Analysis/InstructionSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InstructionSimplify.cpp?rev=361180&r1=361179&r2=361180&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InstructionSimplify.cpp (original)
+++ llvm/trunk/lib/Analysis/InstructionSimplify.cpp Mon May 20 10:52:18 2019
@@ -3434,7 +3434,7 @@ static Value *SimplifyFCmpInst(unsigned
}
}
- // 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) ||
More information about the llvm-commits
mailing list