From: Reid Spencer Date: Sat, 13 Jan 2007 01:09:33 +0000 (+0000) Subject: Fix a FIXME. 1 bit integer types are now printed as i1 not bool. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a1fed2d1c0494e4fe460582c62213facfbaaf78a;p=oota-llvm.git Fix a FIXME. 1 bit integer types are now printed as i1 not bool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33176 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index e03d9a78871..d172dce95b9 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -218,10 +218,7 @@ static std::string getTypeDescription(const Type *Ty, switch (Ty->getTypeID()) { case Type::IntegerTyID: { const IntegerType *ITy = cast(Ty); - if (ITy->getBitWidth() == 1) - Result = "bool"; // FIXME: eventually this becomes i1 - else - Result = "i" + utostr(ITy->getBitWidth()); + Result = "i" + utostr(ITy->getBitWidth()); break; } case Type::FunctionTyID: {