[llvm-bugs] [Bug 47873] New: Regressions for conditional code gen from clang 10 to 11

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 15 22:41:03 PDT 2020


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

            Bug ID: 47873
           Summary: Regressions for conditional code gen from clang 10 to
                    11
           Product: libraries
           Version: 11.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: fabiang at radgametools.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, pengfei.wang at intel.com,
                    spatel+llvm at rotateright.com

Small repro here: https://godbolt.org/z/xPPGMv

11.0 and trunk both produce the "cmp edx, ecx" / "seta cl" / "test cl, 1" /
"jne label" construction that serves no purpose I can discern; 10.0.1 and
earlier used the expected "cmp edx, ecx" / "ja label".

This function makes for a particularly simple reproducer but we're seeing
instances of this in many places in our code base.

-- 
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/20201016/9bb53486/attachment.html>


More information about the llvm-bugs mailing list