mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-18 12:29:27 +00:00
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f705e660a
commit
16abfdfc22
@ -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
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user