summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-03-16 18:50:44 +0000
committerNate Begeman <natebegeman@mac.com>2006-03-16 18:50:44 +0000
commit32e73f98814bb16ba8b9c505b8ac7bbe77449edf (patch)
tree3ba41329880d94cc6f0578ecdbcc074a6e2a7384 /llvm/lib
parentcce5eef4316f2a35022f48a28153848e42e82f32 (diff)
downloadbcm5719-llvm-32e73f98814bb16ba8b9c505b8ac7bbe77449edf.tar.gz
bcm5719-llvm-32e73f98814bb16ba8b9c505b8ac7bbe77449edf.zip
Another case we could do better on.
llvm-svn: 26795
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/README.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/README.txt b/llvm/lib/Target/PowerPC/README.txt
index 898af148e0a..3b6c5626209 100644
--- a/llvm/lib/Target/PowerPC/README.txt
+++ b/llvm/lib/Target/PowerPC/README.txt
@@ -507,3 +507,14 @@ This theoretically may help improve twolf slightly (used in dimbox.c:142?).
===-------------------------------------------------------------------------===
+int foo(int N, int ***W, int **TK, int X) {
+ int t, i;
+
+ for (t = 0; t < N; ++t)
+ for (i = 0; i < 4; ++i)
+ W[t / X][i][t % X] = TK[i][t];
+
+ return 5;
+}
+
+We generate relatively atrocious code for this loop compared to gcc. \ No newline at end of file
OpenPOWER on IntegriCloud