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

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 21 10:29:56 PST 2006



Changes in directory llvm/lib/Target:

README.txt updated: 1.7 -> 1.8
---
Log message:

missed optzn


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

 README.txt |   11 +++++++++++
 1 files changed, 11 insertions(+)


Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.7 llvm/lib/Target/README.txt:1.8
--- llvm/lib/Target/README.txt:1.7	Wed Feb 15 16:14:34 2006
+++ llvm/lib/Target/README.txt	Tue Feb 21 12:29:44 2006
@@ -68,3 +68,14 @@
 This sort of thing occurs in the alloca lowering code and other places that
 are generating alignment of an already aligned value.
 
+//===---------------------------------------------------------------------===//
+
+Turn this into a signed shift right in instcombine:
+
+int f(unsigned x) {
+  return x >> 31 ? -1 : 0;
+}
+
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25600
+http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01492.html
+






More information about the llvm-commits mailing list