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

            Bug ID: 27559
           Summary: Generate conjunction or disjunction condition to
                    reduce ISL Ast duplication
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: isl
          Assignee: polly-...@googlegroups.com
          Reporter: zi...@codeaurora.org
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

The testcase is a unit test:
test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll

produced Isl AST:

; CHECK: if (Q >= P + 1) {
; CHECK:   for (int c0 = 0; c0 < N; c0 += 1)
; CHECK:     Stmt_store(c0);
; CHECK: } else if (P >= Q + 1)
; CHECK:   for (int c0 = 0; c0 < N; c0 += 1)
; CHECK:     Stmt_store(c0);
; CHECK: }

In some cases the duplication is severe and it end up impacting compile-time
and code size (LLVM optimization will not CSE the code).

-- 
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