<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 - mem2reg / sroa can't handle select instruction"
   href="https://bugs.llvm.org/show_bug.cgi?id=47271">47271</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>mem2reg / sroa can't handle select instruction
          </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>All
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sielicki@yandex.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23871" name="attach_23871" title="`git bisect log` output.">attachment 23871</a> <a href="attachment.cgi?id=23871&action=edit" title="`git bisect log` output.">[details]</a></span>
`git bisect log` output.

I noticed a regression starting with clang-10 on the following example for the
implementation using std::clamp : <a href="https://godbolt.org/z/84z77j">https://godbolt.org/z/84z77j</a>

I was able to bisect to commit 10151f661854e3ee4922662f1d0f62b327cbfa8c /
<a href="https://reviews.llvm.org/D67318">https://reviews.llvm.org/D67318</a></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>