From 67d3d4c0855ee60e1f114f22f24ec0f6f33344a4 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 31 Mar 2006 22:35:14 +0000 Subject: [PATCH] An entry about packed type alignments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27321 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/README.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index be390961d7c..6ac8e9e858c 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -149,4 +149,8 @@ single basic blocks. It should be able to handle stuff like this: where c1/c2 are constants. +//===---------------------------------------------------------------------===// +For packed types, TargetData.cpp::getTypeInfo() returns alignment that is equal +to the type size. It works but can be overly conservative as the alignment of +specific packed types are target dependent.