[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp
Reid Spencer
reid at x10sys.com
Wed Feb 14 18:27:27 PST 2007
Changes in directory llvm/lib/Target:
TargetData.cpp updated: 1.94 -> 1.95
---
Log message:
For PR1195: http://llvm.org/PR1195 :
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
---
Diffs of the changes: (+3 -3)
TargetData.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.94 llvm/lib/Target/TargetData.cpp:1.95
--- llvm/lib/Target/TargetData.cpp:1.94 Wed Feb 14 20:11:06 2007
+++ llvm/lib/Target/TargetData.cpp Wed Feb 14 20:26:10 2007
@@ -414,8 +414,8 @@
return 4;
case Type::DoubleTyID:
return 8;
- case Type::PackedTyID: {
- const PackedType *PTy = cast<PackedType>(Ty);
+ case Type::VectorTyID: {
+ const VectorType *PTy = cast<VectorType>(Ty);
return PTy->getBitWidth() / 8;
}
default:
@@ -483,7 +483,7 @@
case Type::DoubleTyID:
AlignType = FLOAT_ALIGN;
break;
- case Type::PackedTyID:
+ case Type::VectorTyID:
AlignType = PACKED_ALIGN;
break;
default:
More information about the llvm-commits
mailing list