From: Chad Rosier Date: Sat, 5 Nov 2011 00:02:56 +0000 (+0000) Subject: Allow i1 to be promoted to i32 for ARM APCS calling convention. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=38f5c0da6d3097ddd65aaab15ce22c1b95d52902;p=oota-llvm.git 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 --- diff --git a/lib/Target/ARM/ARMCallingConv.td b/lib/Target/ARM/ARMCallingConv.td index d2981c0af8c..5539d28cae8 100644 --- a/lib/Target/ARM/ARMCallingConv.td +++ b/lib/Target/ARM/ARMCallingConv.td @@ -25,7 +25,7 @@ def CC_ARM_APCS : CallingConv<[ // Handles byval parameters. CCIfByVal>, - CCIfType<[i8, i16], CCPromoteToType>, + CCIfType<[i1, i8, i16], CCPromoteToType>, // Handle all vector types as either f64 or v2f64. CCIfType<[v1i64, v2i32, v4i16, v8i8, v2f32], CCBitConvertToType>,