<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 --- - instcombine miscompile (t12958 case from PR16431)"
   href="http://llvm.org/bugs/show_bug.cgi?id=16460">16460</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>instcombine miscompile (t12958 case from PR16431)
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hfinkel@anl.gov
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>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=10770" name="attach_10770" title="bugpoint reduced test case and input file">attachment 10770</a> <a href="attachment.cgi?id=10770&action=edit" title="bugpoint reduced test case and input file">[details]</a></span>
bugpoint reduced test case and input file

instcombine miscompiles the attached input (there is an input text file read by
the program which demonstrates the problem). This is the t12958 case from
PR16431.

Specifically, if you run:
opt -instcombine bugpoint-passinput.ll

Then the resulting program segmentation faults.

whereas compiling it without running instcombine, the resulting program
outputs:
res = 4294930716

Unfortunately, bugpoint crashes when attempting to further reduce the test case
:(
 -- but at least it was able to isolate the relevant pass.</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>