Add support for a preserve_most calling convention to the AArch64 backend.
authorRoman Levenstein <rlevenstein@apple.com>
Thu, 10 Mar 2016 04:35:09 +0000 (04:35 +0000)
committerRoman Levenstein <rlevenstein@apple.com>
Thu, 10 Mar 2016 04:35:09 +0000 (04:35 +0000)
commit2792b3f02f13e057ca0b2d95c21935644a6a5f25
tree2c8029c9171a4d91ea163affc4ddfe8f9bbcb021
parent9402d58e5bbe6744d871ca0e63964fac0538aa85
Add support for a preserve_most calling convention to the AArch64 backend.

This change adds a support for a preserve_most calling convention to the AArch64 backend, similar to how it was done for X86-64.

There is also a subsequent patch on top of this one to add a tail-calls support for this calling convention.

Differential Revision: http://reviews.llvm.org/D18016

llvm-svn: 263092
llvm/lib/Target/AArch64/AArch64CallingConvention.td
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/AArch64/preserve_mostcc.ll [new file with mode: 0644]