[llvm-bugs] [Bug 30952] New: [polly] Segfault in polly::Scop::addLoopBoundsToHeaderDomain
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Tue Nov  8 14:39:55 PST 2016
    
    
  
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-dev at googlegroups.com
          Reporter: efriedma at codeaurora.org
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161108/762569a8/attachment.html>
    
    
More information about the llvm-bugs
mailing list