<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Polly] Scop containing only non-affine region crashes opt"
href="https://llvm.org/bugs/show_bug.cgi?id=25244">25244</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Polly] Scop containing only non-affine region crashes opt
</td>
</tr>
<tr>
<th>Product</th>
<td>Projects
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Polly
</td>
</tr>
<tr>
<th>Assignee</th>
<td>polly-dev@googlegroups.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tobias@grosser.es
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15104" name="attach_15104" title="Test case to reproduce the bug">attachment 15104</a> <a href="attachment.cgi?id=15104&action=edit" title="Test case to reproduce the bug">[details]</a></span>
Test case to reproduce the bug
With 250664 opt -polly-scops -polly-process-unprofitable crashes with:
opt:
/home/grosser/Projects/polly/git/tools/polly/lib/Analysis/ScopInfo.cpp:1037:
void buildConditionSets(polly::Scop &, llvm::Value *, llvm::TerminatorInst *,
llvm::Loop *, isl_set *, SmallVectorImpl<isl_set *> &): Assertion `ICond &&
"Condition of exiting branch was neither constant nor ICmp!"' failed.
0 libLLVMSupport.so.3.8 0x00007f362c270d8a
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 42
1 libLLVMSupport.so.3.8 0x00007f362c2703f6 llvm::sys::RunSignalHandlers() +
54
2 libLLVMSupport.so.3.8 0x00007f362c27263a
3 libc.so.6 0x00007f362abff2f0
4 libc.so.6 0x00007f362abff267 gsignal + 55
5 libc.so.6 0x00007f362ac00eca abort + 362
6 libc.so.6 0x00007f362abf803d
7 libc.so.6 0x00007f362abf80f2
8 libPolly.so 0x00007f36284988f4
9 libPolly.so 0x00007f362848422a
polly::Scop::buildDomainsWithBranchConstraints(llvm::Region*) + 1418
10 libPolly.so 0x00007f3628483bd2
polly::Scop::buildDomains(llvm::Region*) + 770
11 libPolly.so 0x00007f36284883b3
polly::Scop::init(llvm::AAResults&) + 99
12 libPolly.so 0x00007f3628490bdd
polly::ScopInfo::buildScop(llvm::Region&, llvm::DominatorTree&) + 1581
13 libPolly.so 0x00007f3628491182
polly::ScopInfo::runOnRegion(llvm::Region*, llvm::RGPassManager&) + 626
14 libLLVMAnalysis.so.3.8 0x00007f362e5f308a
llvm::RGPassManager::runOnFunction(llvm::Function&) + 1034
15 libLLVMCore.so.3.8 0x00007f362d957208
llvm::FPPassManager::runOnFunction(llvm::Function&) + 344
16 libLLVMCore.so.3.8 0x00007f362d95744b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
17 libLLVMCore.so.3.8 0x00007f362d957905
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 869</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>