summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-01 18:10:16 +0000
committerDan Gohman <gohman@apple.com>2009-04-01 18:10:16 +0000
commit0170402fe85201ce03dce7acc313659e8f2023c1 (patch)
treec5f2c15dcf30d24c96e28c4108ef810f19f8007b /llvm
parentcf1ec2cc680ddf1c03d256b18442fd13d9f7e4a8 (diff)
downloadbcm5719-llvm-0170402fe85201ce03dce7acc313659e8f2023c1.tar.gz
bcm5719-llvm-0170402fe85201ce03dce7acc313659e8f2023c1.zip
Use LLVM type names instead of C type names in comments, to be
less ambiguous and less C-specific. llvm-svn: 68219
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/TargetData.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp
index 63b3eaafe1b..29004dad284 100644
--- a/llvm/lib/Target/TargetData.cpp
+++ b/llvm/lib/Target/TargetData.cpp
@@ -176,11 +176,11 @@ void TargetData::init(const std::string &TargetDescription) {
PointerPrefAlign = PointerABIAlign;
// Default alignments
- setAlignment(INTEGER_ALIGN, 1, 1, 1); // Bool
- setAlignment(INTEGER_ALIGN, 1, 1, 8); // Byte
- setAlignment(INTEGER_ALIGN, 2, 2, 16); // short
- setAlignment(INTEGER_ALIGN, 4, 4, 32); // int
- setAlignment(INTEGER_ALIGN, 4, 8, 64); // long
+ setAlignment(INTEGER_ALIGN, 1, 1, 1); // i1
+ setAlignment(INTEGER_ALIGN, 1, 1, 8); // i8
+ setAlignment(INTEGER_ALIGN, 2, 2, 16); // i16
+ setAlignment(INTEGER_ALIGN, 4, 4, 32); // i32
+ setAlignment(INTEGER_ALIGN, 4, 8, 64); // i64
setAlignment(FLOAT_ALIGN, 4, 4, 32); // float
setAlignment(FLOAT_ALIGN, 8, 8, 64); // double
setAlignment(VECTOR_ALIGN, 8, 8, 64); // v2i32
OpenPOWER on IntegriCloud