mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +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:
parent
9c58aa743d
commit
38f5c0da6d
@ -25,7 +25,7 @@ def CC_ARM_APCS : CallingConv<[
|
||||
// Handles byval parameters.
|
||||
CCIfByVal<CCPassByVal<4, 4>>,
|
||||
|
||||
CCIfType<[i8, i16], CCPromoteToType<i32>>,
|
||||
CCIfType<[i1, i8, i16], CCPromoteToType<i32>>,
|
||||
|
||||
// Handle all vector types as either f64 or v2f64.
|
||||
CCIfType<[v1i64, v2i32, v4i16, v8i8, v2f32], CCBitConvertToType<f64>>,
|
||||
|
Loading…
Reference in New Issue
Block a user