[llvm-bugs] [Bug 30472] [LoopInterchange] Missed optimization with no dependencies.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 8 13:48:34 PST 2018


Florian Hahn <Florian.Hahn at arm.com> changed:

           What    |Removed                     |Added
 Fixed By Commit(s)|                            |r346438
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from Florian Hahn <Florian.Hahn at arm.com> ---
reductions are now supported by LoopInterchange

It now interchanges the following loop

extern int Arr[1024][1024];
unsigned no_deps_interchange(unsigned k) {
  unsigned sum = 0;
  for (int i = 0; i < 1024; ++i)
    for(int j = 0; j < 1024; ++j)
      sum += Arr[j][i] + k;
  return sum;

I've created a follow up ticket to support passing in unsigned **Arr: PR39594

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181108/df0fe6d5/attachment.html>

More information about the llvm-bugs mailing list