[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp
Reid Spencer
reid at x10sys.com
Thu Jan 11 23:25:37 PST 2007
Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.250 -> 1.251
---
Log message:
Always write 1 bit integers as i1 not "bool".
---
Diffs of the changes: (+1 -5)
AsmWriter.cpp | 6 +-----
1 files changed, 1 insertion(+), 5 deletions(-)
Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.250 llvm/lib/VMCore/AsmWriter.cpp:1.251
--- llvm/lib/VMCore/AsmWriter.cpp:1.250 Fri Jan 12 01:05:14 2007
+++ llvm/lib/VMCore/AsmWriter.cpp Fri Jan 12 01:25:20 2007
@@ -268,11 +268,7 @@
switch (Ty->getTypeID()) {
case Type::IntegerTyID: {
unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth();
- if (BitWidth == 1)
- Result += "bool";
- else {
- Result += "i" + utostr(BitWidth);
- }
+ Result += "i" + utostr(BitWidth);
break;
}
case Type::FunctionTyID: {
More information about the llvm-commits
mailing list