<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - unbounded optimum (in isl/isl_tab_pip.c:706)"
   href="https://bugs.llvm.org/show_bug.cgi?id=34813">34813</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>unbounded optimum (in isl/isl_tab_pip.c:706)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Polly
          </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>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Optimizer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>polly-dev@googlegroups.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alex.susu@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19218" name="attach_19218" title="bugpoint "reduced" test and build script and full standard output and error">attachment 19218</a> <a href="attachment.cgi?id=19218&action=edit" title="bugpoint "reduced" test and build script and full standard output and error">[details]</a></span>
bugpoint "reduced" test and build script and full standard output and error

Hello.
    Please find attached a bugpoint "reduced" test (and build script and full
output) that crashes Polly with the following stack trace:
      #7 0x00007fa0dedc1cb7 isl_handle_error
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/External/isl/isl_ctx.c:101:0
      #8 0x00007fa0dee8c763 sol_add
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/External/isl/isl_tab_pip.c:705:0
      #9 0x00007fa0dee94fc8 find_solutions
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/External/isl/isl_tab_pip.c:4114:0
...
      #33 0x00007fa0e936ec9a (anonymous
namespace)::ForwardOpTreeImpl::singleLocation(isl::noexceptions::union_map,
isl::noexceptions::set)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/Transform/ForwardOpTree.cpp:245:0
      #34 0x00007fa0e936fb5c (anonymous
namespace)::ForwardOpTreeImpl::forwardKnownLoad(polly::ScopStmt*,
llvm::Instruction*, polly::ScopStmt*, llvm::Loop*, isl::noexceptions::map,
polly::ScopStmt*, llvm::Loop*, isl::noexceptions::map, bool)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/Transform/ForwardOpTree.cpp:460:0
      #35 0x00007fa0e9370838 (anonymous
namespace)::ForwardOpTreeImpl::forwardTree(polly::ScopStmt*, llvm::Value*,
polly::ScopStmt*, llvm::Loop*, isl::noexceptions::map, bool)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/Transform/ForwardOpTree.cpp:719:0
      #36 0x00007fa0e9370240 (anonymous
namespace)::ForwardOpTreeImpl::forwardSpeculatable(polly::ScopStmt*,
llvm::Instruction*, polly::ScopStmt*, llvm::Loop*, isl::noexceptions::map,
bool)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/Transform/ForwardOpTree.cpp:577:0
      ...
      ...
      #44 0x00007fa0e93711c3 (anonymous
namespace)::ForwardOpTree::runOnScop(polly::Scop&)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/Transform/ForwardOpTree.cpp:860:0
      #45 0x00007fa0e928d475 polly::ScopPass::runOnRegion(llvm::Region*,
llvm::RGPassManager&)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/polly/lib/Analysis/ScopPass.cpp:34:0
      #46 0x00007fa0e87aded7
llvm::RGPassManager::runOnFunction(llvm::Function&)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/lib/Analysis/RegionPass.cpp:98:0
      #47 0x00007fa0e7b67f42
llvm::FPPassManager::runOnFunction(llvm::Function&)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/lib/IR/LegacyPassManager.cpp:1514:0
      #48 0x00007fa0e7b680d5 llvm::FPPassManager::runOnModule(llvm::Module&)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/lib/IR/LegacyPassManager.cpp:1535:0
      #49 0x00007fa0e7b68470 (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/lib/IR/LegacyPassManager.cpp:1591:0
      #50 0x00007fa0e7b68bc7 llvm::legacy::PassManagerImpl::run(llvm::Module&)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/lib/IR/LegacyPassManager.cpp:1694:0
      #51 0x00007fa0e7b68e07 llvm::legacy::PassManager::run(llvm::Module&)
/home/alexsusu/LLVM/llvmSep06_2017/llvm/lib/IR/LegacyPassManager.cpp:1726:0
      #52 0x00000000004b1d7c main
/home/alexsusu/LLVM/llvmSep06_2017/llvm/tools/opt/opt.cpp:760:0    

    I see another bug related to unbounded optimum was reported at
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [polly] isl_tab_pip.c:508: unbounded optimum"
   href="show_bug.cgi?id=30956">https://bugs.llvm.org/show_bug.cgi?id=30956</a> .


  Best regards,
    Alex</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>