[llvm-bugs] [Bug 26370] New: Clang should support 'no_caller_saved_registers' attribute

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 29 05:16:41 PST 2016


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

            Bug ID: 26370
           Summary: Clang should support 'no_caller_saved_registers'
                    attribute
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The current interrupt spec has

To be feature complete, compiler should implement the optional
'no_caller_saved_registers' attribute:

Use this attribute to indicate that the specified function has no
caller-saved registers.  That is, all registers are callee-saved.
The compiler generates proper function entry and exit sequences to
save and restore any modified registers.

The user can call functions specified with 'no_caller_saved_registers'
attribute from an interrupt handler without saving and restoring all
call clobbered registers.

llvm/clang should implement it.

-- 
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/20160129/833072ea/attachment-0001.html>


More information about the llvm-bugs mailing list