ADd a note
authorChris Lattner <sabre@nondot.org>
Sat, 1 Apr 2006 04:08:29 +0000 (04:08 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 1 Apr 2006 04:08:29 +0000 (04:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27324 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 6ac8e9e858c503efc337199e35f8adfff4af701b..afb268d2e45de52e9d266292fb728cb2fb85cb6f 100644 (file)
@@ -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] };
+}
+
+//===---------------------------------------------------------------------===//
+