[llvm-bugs] [Bug 47271] New: mem2reg / sroa can't handle select instruction

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 21 09:31:09 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47271

            Bug ID: 47271
           Summary: mem2reg / sroa can't handle select instruction
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: sielicki at yandex.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 23871
  --> https://bugs.llvm.org/attachment.cgi?id=23871&action=edit
`git bisect log` output.

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

I was able to bisect to commit 10151f661854e3ee4922662f1d0f62b327cbfa8c /
https://reviews.llvm.org/D67318

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200821/f2086266/attachment.html>


More information about the llvm-bugs mailing list