diff options
author | Nate Begeman <natebegeman@mac.com> | 2007-02-09 04:19:54 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2007-02-09 04:19:54 +0000 |
commit | ba52b94fa2a41517d08a8a60d82a0df5b6fe92ec (patch) | |
tree | 2b28a2f5b0537a51a4f772917c810a2bdd386b58 | |
parent | 7ff39512a294c0a43ae43b33f5eb6f2f09771419 (diff) | |
download | bcm5719-llvm-ba52b94fa2a41517d08a8a60d82a0df5b6fe92ec.tar.gz bcm5719-llvm-ba52b94fa2a41517d08a8a60d82a0df5b6fe92ec.zip |
Remove fixed item
llvm-svn: 34081
-rw-r--r-- | llvm/lib/Target/PowerPC/README.txt | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/llvm/lib/Target/PowerPC/README.txt b/llvm/lib/Target/PowerPC/README.txt index 2114fde89a1..a615b7ef6df 100644 --- a/llvm/lib/Target/PowerPC/README.txt +++ b/llvm/lib/Target/PowerPC/README.txt @@ -267,32 +267,6 @@ anything though, because the compares still wouldn't be shared. ===-------------------------------------------------------------------------=== -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: |