[cfe-commits] r41450 - /cfe/trunk/CodeGen/CGExprScalar.cpp

Chris Lattner sabre at nondot.org
Sun Aug 26 09:54:05 PDT 2007


Author: lattner
Date: Sun Aug 26 11:54:05 2007
New Revision: 41450

URL: http://llvm.org/viewvc/llvm-project?rev=41450&view=rev
Log:
llvmgcc is right :)


Modified:
    cfe/trunk/CodeGen/CGExprScalar.cpp

Modified: cfe/trunk/CodeGen/CGExprScalar.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExprScalar.cpp?rev=41450&r1=41449&r2=41450&view=diff

==============================================================================
--- cfe/trunk/CodeGen/CGExprScalar.cpp (original)
+++ cfe/trunk/CodeGen/CGExprScalar.cpp Sun Aug 26 11:54:05 2007
@@ -257,7 +257,6 @@
   if (SrcType->isRealFloatingType()) {
     // Compare against 0.0 for fp scalars.
     llvm::Value *Zero = llvm::Constant::getNullValue(Src->getType());
-    // FIXME: llvm-gcc produces a une comparison: validate this is right.
     return Builder.CreateFCmpUNE(Src, Zero, "tobool");
   }
   





More information about the cfe-commits mailing list