[llvm-commits] [vector_llvm] CVS: llvm/lib/Target/Makefile TargetData.cpp

Robert Bocchino bocchino at cs.uiuc.edu
Tue Oct 18 12:22:23 PDT 2005



Changes in directory llvm/lib/Target:

Makefile updated: 1.24 -> 1.24.4.1
TargetData.cpp updated: 1.57 -> 1.57.2.1
---
Log message:

Initial commit of Vector LLVM.


---
Diffs of the changes:  (+3 -2)

 Makefile       |    1 +
 TargetData.cpp |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/Makefile
diff -u llvm/lib/Target/Makefile:1.24 llvm/lib/Target/Makefile:1.24.4.1
--- llvm/lib/Target/Makefile:1.24	Fri Apr 22 12:20:11 2005
+++ llvm/lib/Target/Makefile	Tue Oct 18 14:21:57 2005
@@ -7,6 +7,7 @@
 # 
 ##===----------------------------------------------------------------------===##
 LEVEL = ../..
+
 LIBRARYNAME = LLVMTarget
 BUILD_ARCHIVE = 1
 


Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.57 llvm/lib/Target/TargetData.cpp:1.57.2.1
--- llvm/lib/Target/TargetData.cpp:1.57	Tue Aug  2 14:25:02 2005
+++ llvm/lib/Target/TargetData.cpp	Tue Oct 18 14:21:57 2005
@@ -192,8 +192,8 @@
     Size = AlignedSize*ATy->getNumElements();
     return;
   }
-  case Type::PackedTyID: {
-    const PackedType *PTy = cast<PackedType>(Ty);
+  case Type::FixedVectorTyID: {
+    const FixedVectorType *PTy = cast<FixedVectorType>(Ty);
     getTypeInfo(PTy->getElementType(), TD, Size, Alignment);
     unsigned AlignedSize = (Size + Alignment - 1)/Alignment*Alignment;
     Size = AlignedSize*PTy->getNumElements();






More information about the llvm-commits mailing list