[llvm-bugs] [Bug 26967] New: fusion opportunity

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 16 11:42:14 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=26967

            Bug ID: 26967
           Summary: fusion opportunity
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Optimizer
          Assignee: polly-dev at googlegroups.com
          Reporter: zinob at codeaurora.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16046
  --> https://llvm.org/bugs/attachment.cgi?id=16046&action=edit
opt -polly -polly-opt-isl -O3 -debug -polly-process-unprofitable
-polly-opt-fusion=max  foo.ll 2> Ofoo  -polly-opt-simplify-deps=no

1) can we make Isl hoist preheader outside loop?

      if (n >= 1) {
        Stmt_for_body_lr_ph();
        Stmt_for_body17_lr_ph();
        Stmt_for_body5_lr_ph();
      }
      for (int c0 = 0; c0 < n; c0 += 1) {
        Stmt_for_body(c0);
        Stmt_for_body5(c0);
        Stmt_for_body17(c0);
        if (c0 == 0)
          Stmt_for_body29_lr_ph();
        Stmt_for_body29(c0);
      }
    }

2) Loop fusion occurs only if -polly-opt-simplify-deps=no? why?

-- 
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/20160316/1e900817/attachment-0001.html>


More information about the llvm-bugs mailing list