<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - Emitting remark when failing to unroll a loop with the unroll pragma specified"
   href="http://llvm.org/bugs/show_bug.cgi?id=20100">20100</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Emitting remark when failing to unroll a loop with the unroll pragma specified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>Scalar Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>meheff@google.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wujingyue@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>eliben@gmail.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12693" name="attach_12693" title="example where LLVM fails to unroll a loop with the unroll pragma">attachment 12693</a> <a href="attachment.cgi?id=12693&action=edit" title="example where LLVM fails to unroll a loop with the unroll pragma">[details]</a></span>
example where LLVM fails to unroll a loop with the unroll pragma

If the compiler fails to unroll a loop with the unroll pragma, the compiler can
emit remark instead of silently missing the unrolling. 

In the attached example, the programmer specifies the unroll pragma and expects
the loop to be unrolled because it has a constant bound. But for some reason,
LoopUnrollPass fails to unroll it.</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>