aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-01 04:08:29 +0000
committerChris Lattner <sabre@nondot.org>2006-04-01 04:08:29 +0000
commiteaa7c06d86ae766611c980d458e324e1d16327dd (patch)
tree74d2a54dcc62f138bc5df651b226ebc17d8ecb71
parent6e6b0da30316b522702c869840ba95db2cfa709e (diff)
ADd a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27324 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/README.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index 6ac8e9e858..afb268d2e4 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -154,3 +154,15 @@ 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.
+
+//===---------------------------------------------------------------------===//
+
+We should add 'unaligned load/store' nodes, and produce them from code like
+this:
+
+v4sf example(float *P) {
+ return (v4sf){P[0], P[1], P[2], P[3] };
+}
+
+//===---------------------------------------------------------------------===//
+