An entry about packed type alignments.

llvm-svn: 27321
This commit is contained in:
Evan Cheng 2006-03-31 22:35:14 +00:00
parent 20d3f3726f
commit dc1161cf53
1 changed files with 4 additions and 0 deletions

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.