llvmgcc is right :)

llvm-svn: 41450
This commit is contained in:
Chris Lattner 2007-08-26 16:54:05 +00:00
parent 183c231cf9
commit c3b3707536
1 changed files with 0 additions and 1 deletions

View File

@ -257,7 +257,6 @@ Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) {
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");
}