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: unassignedb...@nondot.org
          Reporter: curde...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to