Another case we could do better on.
authorNate Begeman <natebegeman@mac.com>
Thu, 16 Mar 2006 18:50:44 +0000 (18:50 +0000)
committerNate Begeman <natebegeman@mac.com>
Thu, 16 Mar 2006 18:50:44 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26795 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/README.txt

index 898af148e0adc4fe856ca186095ecc3d90203260..3b6c562620985019f156aa4c84743df7c28e5f41 100644 (file)
@@ -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