<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Miscompile with -basicaa-recphi=1 -gvn"
   href="https://bugs.llvm.org/show_bug.cgi?id=37952">37952</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Miscompile with -basicaa-recphi=1 -gvn
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>bjorn.a.pettersson@ericsson.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20473" name="attach_20473" title="reproducer">attachment 20473</a> <a href="attachment.cgi?id=20473&action=edit" title="reproducer">[details]</a></span>
reproducer

The attached llvm-lit adapted test case fails for the RUN line using
"-basicaa-recphi=1 -gvn". Afaict it is a miscompile.

Note that -basicaa-recphi seems to have been defaulted to 0 since it was
introduced in 2015 (r242320). If it turns out that the fault is related to that
option, maybe the easy solution is to remove it?

The problem was detected when doing fuzzy testing using randomized options
(normally we don't use -basicaa-recphi=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>