aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.