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

Chris Lattner lattner at cs.uiuc.edu
Sat Mar 4 15:33:56 PST 2006



Changes in directory llvm/lib/Target:

README.txt updated: 1.11 -> 1.12
---
Log message:

Implemented.


---
Diffs of the changes:  (+0 -16)

 README.txt |   16 ----------------
 1 files changed, 16 deletions(-)


Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.11 llvm/lib/Target/README.txt:1.12
--- llvm/lib/Target/README.txt:1.11	Sat Mar  4 02:44:51 2006
+++ llvm/lib/Target/README.txt	Sat Mar  4 17:33:44 2006
@@ -102,19 +102,3 @@
 This would be a win on ppc32, but not x86 or ppc64.
 
 //===---------------------------------------------------------------------===//
-
-Pull add through mul/shift to handle this:
-
-int foo(int P[4][4], int i) {
-  return P[i+2][1];
-}
-
-better than this (no addi needed):
-
-_foo:
-        addi r2, r4, 2
-        slwi r2, r2, 4
-        add r2, r3, r2
-        lwz r3, 4(r2)
-        blr
-






More information about the llvm-commits mailing list