<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:kfischer@college.harvard.edu" title="Keno Fischer <kfischer@college.harvard.edu>"> <span class="fn">Keno Fischer</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - assertion "piece covers entire variable" when optimizing code with debug information"
   href="https://llvm.org/bugs/show_bug.cgi?id=26155">bug 26155</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;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - assertion "piece covers entire variable" when optimizing code with debug information"
   href="https://llvm.org/bugs/show_bug.cgi?id=26155#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - assertion "piece covers entire variable" when optimizing code with debug information"
   href="https://llvm.org/bugs/show_bug.cgi?id=26155">bug 26155</a>
              from <span class="vcard"><a class="email" href="mailto:kfischer@college.harvard.edu" title="Keno Fischer <kfischer@college.harvard.edu>"> <span class="fn">Keno Fischer</span></a>
</span></b>
        <pre>The input IR is invalid. The size of the alloca must match the size described
by debug info. I'm in the process of adding an assert to the verifier to
complain about this directly. There is some question of whether we can encode
the fact that even though something is stored as i8, it's actually only one bit
long, see this discussion on the mailing list:
<a href="http://lists.llvm.org/pipermail/llvm-dev/2016-January/093950.html">http://lists.llvm.org/pipermail/llvm-dev/2016-January/093950.html</a>, but for now
the consensus seems to be that bools need to be declared as 8 bit in the debug
info.</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>