summaryrefslogtreecommitdiff
path: root/lib/Target/README.txt
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-02-16 07:17:44 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-02-16 07:17:44 +0000
commitc5cb996e9cf871aab657e7c531c31b49a02819e3 (patch)
tree57f2af8688857195e61d119188ce102b19fc1042 /lib/Target/README.txt
parent7bccf6abdc5de989cdb3872369480825ebc9c3a9 (diff)
downloadllvm-c5cb996e9cf871aab657e7c531c31b49a02819e3.tar.gz
llvm-c5cb996e9cf871aab657e7c531c31b49a02819e3.tar.bz2
llvm-c5cb996e9cf871aab657e7c531c31b49a02819e3.tar.xz
Update README entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/README.txt')
-rw-r--r--lib/Target/README.txt19
1 files changed, 6 insertions, 13 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index 6b4e33ea34..12a71778a9 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -1783,13 +1783,12 @@ entry:
}
Generated code:
- addq %rcx, %rdx
- movl $0, %eax
- adcq $0, %rax
- addq %r8, %rax
- movq %rax, (%rdi)
- movq %rdx, (%rsi)
- ret
+ addq %rcx, %rdx
+ sbbq %rax, %rax
+ subq %rax, %r8
+ movq %r8, (%rdi)
+ movq %rdx, (%rsi)
+ ret
Expected code:
addq %rcx, %rdx
@@ -1798,12 +1797,6 @@ Expected code:
movq %rdx, (%rsi)
ret
-The generated SelectionDAG has an ADD of an ADDE, where both operands of the
-ADDE are zero. Replacing one of the operands of the ADDE with the other operand
-of the ADD, and replacing the ADD with the ADDE, should give the desired result.
-
-(That said, we are doing a lot better than gcc on this testcase. :) )
-
//===---------------------------------------------------------------------===//
Switch lowering generates less than ideal code for the following switch: