projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ead97
)
add a note
author
Chris Lattner
<sabre@nondot.org>
Sun, 25 Mar 2007 04:46:28 +0000
(
04:46
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 25 Mar 2007 04:46:28 +0000
(
04:46
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35330
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/README.txt
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/README.txt
b/lib/Target/PowerPC/README.txt
index 932893eae1b58fed7cde7345ee91d2bb263b3ef9..074dffce96e5b4b94cdfeefbf616345ff748c4d4 100644
(file)
--- a/
lib/Target/PowerPC/README.txt
+++ b/
lib/Target/PowerPC/README.txt
@@
-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.
+
+===-------------------------------------------------------------------------===