[llvm-commits] CVS: llvm/lib/Target/README.txt
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 14 11:31:36 PST 2006
Changes in directory llvm/lib/Target:
README.txt updated: 1.20 -> 1.21
---
Log message:
add a note
---
Diffs of the changes: (+8 -0)
README.txt | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.20 llvm/lib/Target/README.txt:1.21
--- llvm/lib/Target/README.txt:1.20 Tue Mar 14 00:57:34 2006
+++ llvm/lib/Target/README.txt Tue Mar 14 13:31:24 2006
@@ -113,3 +113,11 @@
//===---------------------------------------------------------------------===//
+This code:
+int rot(unsigned char b) { int a = ((b>>1) ^ (b<<7)) & 0xff; return a; }
+
+Can be improved in two ways:
+
+1. The instcombiner should eliminate the type conversions.
+2. The X86 backend should turn this into a rotate by one bit.
+
More information about the llvm-commits
mailing list