summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-01-05 21:53:52 +0000
committerHal Finkel <hfinkel@anl.gov>2015-01-05 21:53:52 +0000
commit9187711f0844bf229012e46c5abe71647f318455 (patch)
tree0b1dd3edf0ebec37abc3e510ad198d14f68260da /llvm/lib
parent9cf1e26201635c75b3ff5ab2f521f380027a3a8c (diff)
downloadbcm5719-llvm-9187711f0844bf229012e46c5abe71647f318455.tar.gz
bcm5719-llvm-9187711f0844bf229012e46c5abe71647f318455.zip
[PowerPC] Convert a README.txt entry into a better test
We now produce the desired code as noted in the README.txt file (no spurious or). Remove the README entry and improve the regression test. llvm-svn: 225214
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/README.txt13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/Target/PowerPC/README.txt b/llvm/lib/Target/PowerPC/README.txt
index 29238fd2a55..9571e4a0616 100644
--- a/llvm/lib/Target/PowerPC/README.txt
+++ b/llvm/lib/Target/PowerPC/README.txt
@@ -494,19 +494,6 @@ _bar:
===-------------------------------------------------------------------------===
-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.
-
-===-------------------------------------------------------------------------===
-
We generate horrible ppc code for this:
#define N 2000000
OpenPOWER on IntegriCloud