<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chenzheng1030@hotmail.com" title="Chen Zheng (陈 正) <chenzheng1030@hotmail.com>"> <span class="fn">Chen Zheng (陈 正)</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [PowerPC] segment fault for bootstrap"
   href="https://bugs.llvm.org/show_bug.cgi?id=42492">bug 42492</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;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [PowerPC] segment fault for bootstrap"
   href="https://bugs.llvm.org/show_bug.cgi?id=42492#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [PowerPC] segment fault for bootstrap"
   href="https://bugs.llvm.org/show_bug.cgi?id=42492">bug 42492</a>
              from <span class="vcard"><a class="email" href="mailto:chenzheng1030@hotmail.com" title="Chen Zheng (陈 正) <chenzheng1030@hotmail.com>"> <span class="fn">Chen Zheng (陈 正)</span></a>
</span></b>
        <pre><a href="https://reviews.llvm.org/D64197">https://reviews.llvm.org/D64197</a> introduces dependancy from Analysis ->
TransformUtils. The left hardeware loop checking code in HardwareLoops pass is
based on existing of loop preheader and if there is no preheader, HardwareLoops
pass inserts one. Inserting a preheader is ok in HardwareLoops pass, but it is
nok in TargetTransformInfo.cpp. TargetTransformInfo.cpp is in Analyses library,
currently it does not depend on TransformUtils library, so we meet symbol
undefined issue if we build with -DBUILD_SHARED_LIBS=ON.

Since the build crash should be fixed by <a href="https://reviews.llvm.org/rL365104">https://reviews.llvm.org/rL365104</a> and
it is unavoidable that isHardwareLoopCandidate() returns different value in
CanSaveCmp() hook and HardwareLoops pass, I will abandon patch for item 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>