<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] Stack overflow with invariant load hoisting"
href="https://llvm.org/bugs/show_bug.cgi?id=25443">25443</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Polly] Stack overflow with invariant load hoisting
</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=15243" name="attach_15243" title="Test case">attachment 15243</a> <a href="attachment.cgi?id=15243&action=edit" title="Test case">[details]</a></span>
Test case
With git-svn-id: <a href="https://llvm.org/svn/llvm-project/polly/trunk@252375">https://llvm.org/svn/llvm-project/polly/trunk@252375</a> and
polly-opt -polly-codegen -polly-process-unprofitable the attached test case
gives me a stack overflow in the invariant-load-hoisting:
#323 0x00007fffefca2383 in
IslNodeBuilder::preloadInvariantEquivClass(std::tuple<llvm::SCEV const*,
std::forward_list<polly::MemoryAccess*, std::allocator<polly::MemoryAccess*> >,
isl_set*> const&) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#324 0x00007fffefca20dd in IslNodeBuilder::materializeValue(isl_id*) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#325 0x00007fffefca2e52 in
IslNodeBuilder::preloadInvariantLoad(polly::MemoryAccess const&, isl_set*) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#326 0x00007fffefca23ae in
IslNodeBuilder::preloadInvariantEquivClass(std::tuple<llvm::SCEV const*,
std::forward_list<polly::MemoryAccess*, std::allocator<polly::MemoryAccess*> >,
isl_set*> const&) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#327 0x00007fffefca2383 in
IslNodeBuilder::preloadInvariantEquivClass(std::tuple<llvm::SCEV const*,
std::forward_list<polly::MemoryAccess*, std::allocator<polly::MemoryAccess*> >,
isl_set*> const&) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#328 0x00007fffefca20dd in IslNodeBuilder::materializeValue(isl_id*) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#329 0x00007fffefca2e52 in
IslNodeBuilder::preloadInvariantLoad(polly::MemoryAccess const&, isl_set*) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#330 0x00007fffefca23ae in
IslNodeBuilder::preloadInvariantEquivClass(std::tuple<llvm::SCEV const*,
std::forward_list<polly::MemoryAccess*, std::allocator<polly::MemoryAccess*> >,
isl_set*> const&) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#331 0x00007fffefca2383 in
IslNodeBuilder::preloadInvariantEquivClass(std::tuple<llvm::SCEV const*,
std::forward_list<polly::MemoryAccess*, std::allocator<polly::MemoryAccess*> >,
isl_set*> const&) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#332 0x00007fffefca20dd in IslNodeBuilder::materializeValue(isl_id*) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#333 0x00007fffefca2e52 in
IslNodeBuilder::preloadInvariantLoad(polly::MemoryAccess const&, isl_set*) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#334 0x00007fffefca23ae in
IslNodeBuilder::preloadInvariantEquivClass(std::tuple<llvm::SCEV const*,
std::forward_list<polly::MemoryAccess*, std::allocator<polly::MemoryAccess*> >,
isl_set*> const&) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
#335 0x00007fffefca2383 in
IslNodeBuilder::preloadInvariantEquivClass(std::tuple<llvm::SCEV const*,
std::forward_list<polly::MemoryAccess*, std::allocator<polly::MemoryAccess*> >,
isl_set*> const&) ()
from /home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so
This is a LNT test case reduced from MultiSource/Applications/JM/ldecod</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>