<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 - Merge 00f3579aea6e3d4a4b7464c3db47294f71cef9e4 to 11.0"
   href="https://bugs.llvm.org/show_bug.cgi?id=46740">46740</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Merge 00f3579aea6e3d4a4b7464c3db47294f71cef9e4 to 11.0
          </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>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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>craig.topper@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This reverts most of a 5 patch series due to reports of miscompiles. 

The patches are
    1cf6f210a2e [IR] Disable select ? C : undef -> C fold in
ConstantFoldSelectInstruction unless we know C isn't poison.
    469da663f2d [InstSimplify] Re-enable select ?, undef, X -> X transform when
X is provably not poison
    122b0640fc9 [InstSimplify] Don't fold vectors of partial undef in
SimplifySelectInst if the non-undef element value might produce poison
    ac0af12ed2f [InstSimplify] Add test cases for opportunities to fold select
?, X, undef -> X when we can prove X isn't poison
    9b1e95329af [InstSimplify] Remove select ?, undef, X -> X and select ?, X,
undef -> X transforms


Some of them added new test cases which I left but change the CHECK lines.</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>