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

            Bug ID: 47242
           Summary: missed instruction sink across asm goto
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
            Blocks: 4068

I was looking at a bug report against GCC 8
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193), and noticed our codegen
could be improved: https://godbolt.org/z/zqK1K7.  I was wondering if we could
sink the zeroing of the return register after the asm statement, so that we're
avoiding a dead write along one of the branches?


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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to