An entry about packed type alignments.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 31 Mar 2006 22:35:14 +0000 (22:35 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 31 Mar 2006 22:35:14 +0000 (22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27321 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index be390961d7cb5346291e5749145fd548e4b5d107..6ac8e9e858c503efc337199e35f8adfff4af701b 100644 (file)
@@ -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.