mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Allow i1 to be promoted to i32 for ARM APCS calling convention.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,7 +25,7 @@ def CC_ARM_APCS : CallingConv<[
|
|||||||
// Handles byval parameters.
|
// Handles byval parameters.
|
||||||
CCIfByVal<CCPassByVal<4, 4>>,
|
CCIfByVal<CCPassByVal<4, 4>>,
|
||||||
|
|
||||||
CCIfType<[i8, i16], CCPromoteToType<i32>>,
|
CCIfType<[i1, i8, i16], CCPromoteToType<i32>>,
|
||||||
|
|
||||||
// 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>>,
|
||||||
|
Reference in New Issue
Block a user