[llvm-commits] CVS: llvm/lib/Target/PowerPC/README.txt
Chris Lattner
sabre at nondot.org
Sat Mar 24 21:46:45 PDT 2007
Changes in directory llvm/lib/Target/PowerPC:
README.txt updated: 1.111 -> 1.112
---
Log message:
add a note
---
Diffs of the changes: (+13 -0)
README.txt | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/lib/Target/PowerPC/README.txt
diff -u llvm/lib/Target/PowerPC/README.txt:1.111 llvm/lib/Target/PowerPC/README.txt:1.112
--- llvm/lib/Target/PowerPC/README.txt:1.111 Fri Feb 9 11:38:01 2007
+++ llvm/lib/Target/PowerPC/README.txt Sat Mar 24 23:46:28 2007
@@ -625,3 +625,16 @@
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.
+
+===-------------------------------------------------------------------------===
More information about the llvm-commits
mailing list