[llvm-bugs] [Bug 32294] New: Mips backend erroneously marks AT register as clobbered

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 15 16:08:23 PDT 2017


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

            Bug ID: 32294
           Summary: Mips backend erroneously marks AT register as
                    clobbered
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: MIPS
          Assignee: unassignedbugs at nondot.org
          Reporter: kyle+llvm at iteratee.net
                CC: llvm-bugs at lists.llvm.org

The mips backend marks the AT (assembler temporary) register as clobbered for
branch instructions. This prevents the branch coalescing pass from coalesing
the branch because of the implicit def of AT. LLVM should not be producing
assembler macros, and should treat the AT register as any other register. We
should be compiling to the chip, and not to the assembler.

-- 
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/20170315/ad4b5041/attachment.html>


More information about the llvm-bugs mailing list