[llvm-commits] [llvm] r53243 - /llvm/trunk/lib/VMCore/ConstantFold.cpp
Chris Lattner
sabre at nondot.org
Tue Jul 8 11:47:57 PDT 2008
Author: lattner
Date: Tue Jul 8 13:47:38 2008
New Revision: 53243
URL: http://llvm.org/viewvc/llvm-project?rev=53243&view=rev
Log:
improve comment
Modified:
llvm/trunk/lib/VMCore/ConstantFold.cpp
Modified: llvm/trunk/lib/VMCore/ConstantFold.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/ConstantFold.cpp?rev=53243&r1=53242&r2=53243&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/ConstantFold.cpp (original)
+++ llvm/trunk/lib/VMCore/ConstantFold.cpp Tue Jul 8 13:47:38 2008
@@ -1375,7 +1375,7 @@
}
if (C1->getType()->isFloatingPoint()) {
- int Result = -1;
+ int Result = -1; // -1 = unknown, 0 = known false, 1 = known true.
switch (evaluateFCmpRelation(C1, C2)) {
default: assert(0 && "Unknown relation!");
case FCmpInst::FCMP_UNO:
More information about the llvm-commits
mailing list