[llvm-bugs] [Bug 47496] New: Regression in use of conditional unreachable's in LLVM

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 11 07:55:47 PDT 2020


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

            Bug ID: 47496
           Summary: Regression in use of conditional unreachable's in LLVM
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: curdeius at gmail.com
                CC: llvm-bugs at lists.llvm.org

That's a regression of the issue fixed in #810, as commented there:
https://bugs.llvm.org/show_bug.cgi?id=810#c15.

It seems that the current trunk version of clang (as of 2020-09-02) does not
optimize away the call to f1 in test2 (nb. clang 9 and 10 did optimize it).
See: https://godbolt.org/z/YK13j1.

-- 
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/20200911/b6397377/attachment.html>


More information about the llvm-bugs mailing list