ARM: support interrupt attribute
authorTim Northover <tnorthover@apple.com>
Tue, 1 Oct 2013 14:33:28 +0000 (14:33 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 1 Oct 2013 14:33:28 +0000 (14:33 +0000)
commitbba9390fc6c0d536172c6bb4a9c93db557c1aff4
treeaf829f6b393c4a7aa3f847f13d98eddc855c60a4
parent6d2158acae7ec731500a36fbb4ae79483ee10969
ARM: support interrupt attribute

This function-attribute modifies the callee-saved register list and function
epilogue (specifically the return instruction) so that a routine is suitable
for use as an interrupt-handler of the specified type without disrupting
user-mode applications.

rdar://problem/14207019

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191766 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/ARM/ARMCallingConv.td
lib/Target/ARM/ARMExpandPseudoInsts.cpp
lib/Target/ARM/ARMFrameLowering.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/interrupt-attr.ll [new file with mode: 0644]