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

            Bug ID: 50080
           Summary: empty jump past the end of the function
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedb...@nondot.org
          Reporter: ndesaulni...@google.com
                CC: craig.top...@gmail.com, h...@chromium.org,
                    llvm-bugs@lists.llvm.org, llvm-...@redking.me.uk,
                    natechancel...@gmail.com, pengfei.w...@intel.com,
                    spatel+l...@rotateright.com, srhi...@google.com
            Blocks: 4068

Similar to: https://reviews.llvm.org/D68131

This test case: https://godbolt.org/z/1hq4oe8KP

We have a switch with some bitwise operations, but in the generated code
there's:

f:
        ...
        jmpq    *.LJTI0_0(,%rax,8)
        ...
        retq
.LJTI0_0

via: https://github.com/ClangBuiltLinux/linux/issues/621


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
-- 
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