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-...@googlegroups.com
          Reporter: zi...@codeaurora.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to