<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:llvm@meinersbur.de" title="Michael Kruse <llvm@meinersbur.de>"> <span class="fn">Michael Kruse</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - 12.0.0: polly is not LTO ready"
   href="https://bugs.llvm.org/show_bug.cgi?id=50021">bug 50021</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Fixed By Commit(s)</td>
           <td>90e5ce0b0d6b0e72fdc034cbb612f67d67de0fdd
           </td>
           <td>90e5ce0b0d6b0e72fdc034cbb612f67d67de0fdd 89b59345ee29d2cc1afa1f60445916ae2e74be6d
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>REOPENED
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - 12.0.0: polly is not LTO ready"
   href="https://bugs.llvm.org/show_bug.cgi?id=50021#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - 12.0.0: polly is not LTO ready"
   href="https://bugs.llvm.org/show_bug.cgi?id=50021">bug 50021</a>
              from <span class="vcard"><a class="email" href="mailto:llvm@meinersbur.de" title="Michael Kruse <llvm@meinersbur.de>"> <span class="fn">Michael Kruse</span></a>
</span></b>
        <pre>Thanks for the report. I committed a fix in
89b59345ee29d2cc1afa1f60445916ae2e74be6d.

I also compiled Polly with -flto=auto myself to ensure that there no remaining
issues. 'opt' and 'clang' compile successfully, but there seem to be remaining
problems with LLVM itself, since check-llvm (and check-polly) does fail for
every unit test with the following (+ many warnings): 

/home/meinersbur/src/llvm-project/llvm/lib/Support/TimeProfiler.cpp:36:45:
error: only zero initializers are allowed in section
‘.tbss._ZL25TimeTraceProfilerInstance.lto_priv.9719’
 static LLVM_THREAD_LOCAL TimeTraceProfiler *TimeTraceProfilerInstance =
nullptr;

However, it's not a Polly issue.


@Tom Stellard: Please add 90e5ce0b0d6b0e72fdc034cbb612f67d67de0fdd and
89b59345ee29d2cc1afa1f60445916ae2e74be6d for 12.0.1</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>