From: Nate Begeman Date: Thu, 16 Mar 2006 18:50:44 +0000 (+0000) Subject: Another case we could do better on. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2df992883b2efbcb5aae55c6dc2b50861224e6f9;p=oota-llvm.git Another case we could do better on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26795 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index 898af148e0a..3b6c5626209 100644 --- a/lib/Target/PowerPC/README.txt +++ b/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