aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-03-18 22:41:33 +0000
committerChris Lattner <sabre@nondot.org>2007-03-18 22:41:33 +0000
commit11a3a9d27d1fb09e462ea68d4d259618d86d8dad (patch)
tree35554db951edfa26af52857dab8f8e26f3b3a658
parent7f4ba44f377b1a71c3484385d4338e7917433d5f (diff)
minor updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35143 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/README.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index e6bfe6dee6..482bc49ad7 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -20,12 +20,14 @@ This has a number of uses:
FreeBench/mason contains code like this:
-static p_type m0u(p_type p) {
+typedef struct { int a; int b; int c; } p_type;
+extern int m[];
+p_type m0u(p_type *p) {
int m[]={0, 8, 1, 2, 16, 5, 13, 7, 14, 9, 3, 4, 11, 12, 15, 10, 17, 6};
p_type pu;
- pu.a = m[p.a];
- pu.b = m[p.b];
- pu.c = m[p.c];
+ pu.a = m[p->a];
+ pu.b = m[p->b];
+ pu.c = m[p->c];
return pu;
}
@@ -122,10 +124,6 @@ for 1,2,4,8 bytes.
//===---------------------------------------------------------------------===//
-Add LSR exit value substitution. It'll probably be a win for Ackermann, etc.
-
-//===---------------------------------------------------------------------===//
-
It would be nice to revert this patch:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060213/031986.html