[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp
Reid Spencer
reid at x10sys.com
Thu Feb 15 14:07:26 PST 2007
Changes in directory llvm/lib/Target:
TargetData.cpp updated: 1.96 -> 1.97
---
Log message:
For PR1195: http://llvm.org/PR1195 :
PACKED_ALIGN -> VECTOR_ALIGN
---
Diffs of the changes: (+4 -4)
TargetData.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.96 llvm/lib/Target/TargetData.cpp:1.97
--- llvm/lib/Target/TargetData.cpp:1.96 Thu Feb 15 12:34:36 2007
+++ llvm/lib/Target/TargetData.cpp Thu Feb 15 16:07:05 2007
@@ -184,8 +184,8 @@
setAlignment(INTEGER_ALIGN, 4, 8, 64); // long
setAlignment(FLOAT_ALIGN, 4, 4, 32); // float
setAlignment(FLOAT_ALIGN, 8, 8, 64); // double
- setAlignment(PACKED_ALIGN, 8, 8, 64); // v2i32
- setAlignment(PACKED_ALIGN, 16, 16, 128); // v16i8, v8i16, v4i32, ...
+ setAlignment(VECTOR_ALIGN, 8, 8, 64); // v2i32
+ setAlignment(VECTOR_ALIGN, 16, 16, 128); // v16i8, v8i16, v4i32, ...
setAlignment(AGGREGATE_ALIGN, 0, 0, 0); // struct, union, class, ...
while (!temp.empty()) {
@@ -218,7 +218,7 @@
case 'a': {
align_type = (*p == 'i' ? INTEGER_ALIGN :
(*p == 'f' ? FLOAT_ALIGN :
- (*p == 'v' ? PACKED_ALIGN : AGGREGATE_ALIGN)));
+ (*p == 'v' ? VECTOR_ALIGN : AGGREGATE_ALIGN)));
size = (short) atoi(++p);
abi_align = atoi(getToken(token, ":").c_str()) / 8;
pref_align = atoi(getToken(token, ":").c_str()) / 8;
@@ -485,7 +485,7 @@
AlignType = FLOAT_ALIGN;
break;
case Type::VectorTyID:
- AlignType = PACKED_ALIGN;
+ AlignType = VECTOR_ALIGN;
break;
default:
assert(0 && "Bad type for getAlignment!!!");
More information about the llvm-commits
mailing list