diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-02-16 07:17:44 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-02-16 07:17:44 +0000 |
commit | 5f75515e5d1ce68647760c68f866c1e1b40e5ffe (patch) | |
tree | eec7bd415a506dd4d67e50fcd200848663306719 /llvm/lib | |
parent | 5201b6653096af5f0401071c0d31f2e846fdd023 (diff) | |
download | bcm5719-llvm-5f75515e5d1ce68647760c68f866c1e1b40e5ffe.tar.gz bcm5719-llvm-5f75515e5d1ce68647760c68f866c1e1b40e5ffe.zip |
Update README entry.
llvm-svn: 125658
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/README.txt | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt index 6b4e33ea34b..12a71778a92 100644 --- a/llvm/lib/Target/README.txt +++ b/llvm/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: |