An entry about packed type alignments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-03-31 22:35:14 +00:00
parent 6cea814f2c
commit 67d3d4c085

View 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.