aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-18 18:26:13 +0000
committerChris Lattner <sabre@nondot.org>2006-05-18 18:26:13 +0000
commit16abfdfc2229e61a544a75740da995c8a68e7807 (patch)
tree88fc784d3efe2eeff2594e17ad5cc042ec907b16
parent3f705e660a071f0f6a2644b21868569e0b530247 (diff)
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28384 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/README.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index fd862fe63a..54bd94811d 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -190,3 +190,21 @@ The rlwinm (an and by 65535) is dead. The dag combiner should propagate bits
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
+
+//===---------------------------------------------------------------------===//