mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
ARM: enable struct byval for AAPCS.
This change is to be enabled in clang. rdar://9877866 PR://13350 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
870da6de2c
commit
d9b4512593
@ -132,6 +132,9 @@ def RetCC_ARM_AAPCS_Common : CallingConv<[
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
def CC_ARM_AAPCS : CallingConv<[
|
def CC_ARM_AAPCS : CallingConv<[
|
||||||
|
// Handles byval parameters.
|
||||||
|
CCIfByVal<CCPassByVal<4, 4>>,
|
||||||
|
|
||||||
// Handle all vector types as either f64 or v2f64.
|
// Handle all vector types as either f64 or v2f64.
|
||||||
CCIfType<[v1i64, v2i32, v4i16, v8i8, v2f32], CCBitConvertToType<f64>>,
|
CCIfType<[v1i64, v2i32, v4i16, v8i8, v2f32], CCBitConvertToType<f64>>,
|
||||||
CCIfType<[v2i64, v4i32, v8i16, v16i8, v4f32], CCBitConvertToType<v2f64>>,
|
CCIfType<[v2i64, v4i32, v8i16, v16i8, v4f32], CCBitConvertToType<v2f64>>,
|
||||||
|
Loading…
Reference in New Issue
Block a user