[llvm-commits] CVS: llvm/lib/Target/README.txt

Chris Lattner sabre at nondot.org
Sun Mar 18 15:41:53 PDT 2007



Changes in directory llvm/lib/Target:

README.txt updated: 1.57 -> 1.58
---
Log message:

minor updates


---
Diffs of the changes:  (+6 -8)

 README.txt |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)


Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.57 llvm/lib/Target/README.txt:1.58
--- llvm/lib/Target/README.txt:1.57	Sun Mar 18 09:37:20 2007
+++ llvm/lib/Target/README.txt	Sun Mar 18 17:41:33 2007
@@ -20,12 +20,14 @@
 
 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 @@
 
 //===---------------------------------------------------------------------===//
 
-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
 






More information about the llvm-commits mailing list