Changes in directory llvm/lib/VMCore:
Type.cpp updated: 1.159 -> 1.160 --- Log message: Fix a FIXME. 1 bit integer types are now printed as i1 not bool. --- Diffs of the changes: (+1 -4) Type.cpp | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) Index: llvm/lib/VMCore/Type.cpp diff -u llvm/lib/VMCore/Type.cpp:1.159 llvm/lib/VMCore/Type.cpp:1.160 --- llvm/lib/VMCore/Type.cpp:1.159 Fri Jan 12 18:12:29 2007 +++ llvm/lib/VMCore/Type.cpp Fri Jan 12 19:09:33 2007 @@ -218,10 +218,7 @@ switch (Ty->getTypeID()) { case Type::IntegerTyID: { const IntegerType *ITy = cast<IntegerType>(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: { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits