summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-11-07 21:43:40 +0000
committerChad Rosier <mcrosier@apple.com>2011-11-07 21:43:40 +0000
commitfa75530ff04d893854f4fcbe81cc5020de3e13e9 (patch)
treecb874bf36bd02f4d93a13a75fd6e13c8519ae413 /llvm/lib
parent736cf46c3e7ba4610f787b5bf7ade1aef561059c (diff)
downloadbcm5719-llvm-fa75530ff04d893854f4fcbe81cc5020de3e13e9.tar.gz
bcm5719-llvm-fa75530ff04d893854f4fcbe81cc5020de3e13e9.zip
Allow i1 to be promoted to i32 for ARM AAPCS and AAPCS-VFP calling convention as well.
llvm-svn: 144021
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMCallingConv.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMCallingConv.td b/llvm/lib/Target/ARM/ARMCallingConv.td
index 5539d28cae8..a482a200aaa 100644
--- a/llvm/lib/Target/ARM/ARMCallingConv.td
+++ b/llvm/lib/Target/ARM/ARMCallingConv.td
@@ -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
OpenPOWER on IntegriCloud