<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 - Codegen generates invalid code."
   href="https://bugs.llvm.org/show_bug.cgi?id=34503">34503</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Codegen generates invalid code.
          </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>Windows NT
          </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>Other
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>llvm@meinersbur.de
          </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=19113" name="attach_19113" title="lambda-code_0.ll">attachment 19113</a> <a href="attachment.cgi?id=19113&action=edit" title="lambda-code_0.ll">[details]</a></span>
lambda-code_0.ll

The attached test case fails with

opt  -polly-process-unprofitable  -polly-remarks-minimal  -polly-use-llvm-names
 -polly-import-jscop-dir=C:\Users\Meinersbur\src\llvm\tools\polly\test 
-polly-codegen -S -verify-each <
C:\Users\Meinersbur\src\llvm\tools\polly\test\lambda-code_0.ll
--
Exit Code: 1

Command Output (stdout):
--
$ "opt" "-polly-process-unprofitable" "-polly-remarks-minimal"
"-polly-use-llvm-names"
"-polly-import-jscop-dir=C:\Users\Meinersbur\src\llvm\tools\polly\test"
"-polly-codegen" "-S" "-verify-each"
# command stderr:
Instruction does not dominate all uses!
  %call3.i.i.i73 = call i8* @vec_heap_o_reserve() #3
  %1 = ptrtoint i8* %call3.i.i.i73 to i64
Instruction does not dominate all uses!
  %call3.i.i.i73 = call i8* @vec_heap_o_reserve() #3
  %3 = ptrtoint i8* %call3.i.i.i73 to i64
LLVM ERROR: Broken function found, compilation aborted!

error: command failed with exit status: 1



This is probably caused by commit 
r312410 - [ScopDetect/Info] Look through PHIs that follow an error block</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>