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

Chris Lattner lattner at cs.uiuc.edu
Mon Apr 3 16:15:02 PDT 2006



Changes in directory llvm/lib/Target:

TargetData.cpp updated: 1.60 -> 1.61
---
Log message:

revert previous patch


---
Diffs of the changes:  (+1 -1)

 TargetData.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.60 llvm/lib/Target/TargetData.cpp:1.61
--- llvm/lib/Target/TargetData.cpp:1.60	Mon Apr  3 14:28:50 2006
+++ llvm/lib/Target/TargetData.cpp	Mon Apr  3 18:14:49 2006
@@ -217,7 +217,7 @@
     Size = AlignedSize*PTy->getNumElements();
     // FIXME: The alignments of specific packed types are target dependent.
     // For now, just set it to be equal to Size.
-    Alignment = (Size+7)/8;
+    Alignment = Size;
     return;
   }
   case Type::StructTyID: {






More information about the llvm-commits mailing list