mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6ead97b7e
commit
013e051aac
@ -625,3 +625,16 @@ _foo: mr r0,r3
|
||||
blr
|
||||
|
||||
===-------------------------------------------------------------------------===
|
||||
|
||||
test/CodeGen/PowerPC/2007-03-24-cntlzd.ll compiles to:
|
||||
|
||||
__ZNK4llvm5APInt17countLeadingZerosEv:
|
||||
ld r2, 0(r3)
|
||||
cntlzd r2, r2
|
||||
or r2, r2, r2 <<-- silly.
|
||||
addi r3, r2, -64
|
||||
blr
|
||||
|
||||
The dead or is a 'truncate' from 64- to 32-bits.
|
||||
|
||||
===-------------------------------------------------------------------------===
|
||||
|
Loading…
Reference in New Issue
Block a user