[llvm-commits] CVS: llvm/lib/Target/README.txt
Chris Lattner
lattner at cs.uiuc.edu
Thu May 18 11:26:25 PDT 2006
Changes in directory llvm/lib/Target:
README.txt updated: 1.29 -> 1.30
---
Log message:
add a note
---
Diffs of the changes: (+18 -0)
README.txt | 18 ++++++++++++++++++
1 files changed, 18 insertions(+)
Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.29 llvm/lib/Target/README.txt:1.30
--- llvm/lib/Target/README.txt:1.29 Thu Apr 20 13:49:28 2006
+++ llvm/lib/Target/README.txt Thu May 18 13:26:13 2006
@@ -190,3 +190,21 @@
better than that to see this.
//===---------------------------------------------------------------------===//
+
+Add support for conditional increments, and other related patterns. Instead
+of:
+
+ movl 136(%esp), %eax
+ cmpl $0, %eax
+ je LBB16_2 #cond_next
+LBB16_1: #cond_true
+ incl _foo
+LBB16_2: #cond_next
+
+emit:
+ movl _foo, %eax
+ cmpl $1, %edi
+ sbbl $-1, %eax
+ movl %eax, _foo
+
+//===---------------------------------------------------------------------===//
More information about the llvm-commits
mailing list