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

            Bug ID: 30952
           Summary: [polly] Segfault in
                    polly::Scop::addLoopBoundsToHeaderDomain
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Optimizer
          Assignee: polly-...@googlegroups.com
          Reporter: efrie...@codeaurora.org
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Testcase:

define void @f() {
a:
  br i1 undef, label %c, label %b

b:
  br label %d

c:
  ret void

d:
  switch i8 0, label %e [
    i8 71, label %d
    i8 56, label %d
  ]

e:
  unreachable
}


Crashes with opt -polly-scops -polly-process-unprofitable.

The crash is on the line "int idx = BI->getSuccessor(0) != HeaderBB;" in
polly::Scop::addLoopBoundsToHeaderDomain.

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