[llvm-commits] CVS: llvm/lib/Target/PowerPC/README.txt

Nate Begeman natebegeman at mac.com
Thu Feb 8 20:20:10 PST 2007



Changes in directory llvm/lib/Target/PowerPC:

README.txt updated: 1.109 -> 1.110
---
Log message:

Remove fixed item


---
Diffs of the changes:  (+0 -26)

 README.txt |   26 --------------------------
 1 files changed, 26 deletions(-)


Index: llvm/lib/Target/PowerPC/README.txt
diff -u llvm/lib/Target/PowerPC/README.txt:1.109 llvm/lib/Target/PowerPC/README.txt:1.110
--- llvm/lib/Target/PowerPC/README.txt:1.109	Wed Jan 31 13:49:20 2007
+++ llvm/lib/Target/PowerPC/README.txt	Thu Feb  8 22:19:54 2007
@@ -267,32 +267,6 @@
 
 ===-------------------------------------------------------------------------===
 
-The legalizer should lower this:
-
-bool %test(ulong %x) {
-  %tmp = setlt ulong %x, 4294967296
-  ret bool %tmp
-}
-
-into "if x.high == 0", not:
-
-_test:
-        cntlzw r2, r3
-        xori r3, r3, 1
-        cmplwi cr0, r3, 0
-        srwi r2, r2, 5
-        li r3, 0
-        beq cr0, LBB1_2 ;entry
-LBB1_1: ;entry
-        mr r3, r2
-LBB1_2: ;entry
-        blr 
-
-noticed in 2005-05-11-Popcount-ffs-fls.c.
-
-
-===-------------------------------------------------------------------------===
-
 We should custom expand setcc instead of pretending that we have it.  That
 would allow us to expose the access of the crbit after the mfcr, allowing
 that access to be trivially folded into other ops.  A simple example:






More information about the llvm-commits mailing list