aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-03-31 22:35:14 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-03-31 22:35:14 +0000
commit67d3d4c0855ee60e1f114f22f24ec0f6f33344a4 (patch)
tree089f6301819b6e9b54b95744f5b76691f19069c6
parent6cea814f2c2268f19b28ea1443cd5f55f932bb1e (diff)
An entry about packed type alignments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27321 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/README.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index be390961d7..6ac8e9e858 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.