Allow i1 to be promoted to i32 for ARM AAPCS and AAPCS-VFP calling convention as well.

llvm-svn: 144021
This commit is contained in:
Chad Rosier 2011-11-07 21:43:40 +00:00
parent 736cf46c3e
commit fa75530ff0
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def RetFastCC_ARM_APCS : CallingConv<[
def CC_ARM_AAPCS_Common : CallingConv<[
CCIfType<[i8, i16], CCPromoteToType<i32>>,
CCIfType<[i1, i8, i16], CCPromoteToType<i32>>,
// i64/f64 is passed in even pairs of GPRs
// i64 is 8-aligned i32 here, so we may need to eat R1 as a pad register