aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-11-05 00:02:56 +0000
committerChad Rosier <mcrosier@apple.com>2011-11-05 00:02:56 +0000
commit38f5c0da6d3097ddd65aaab15ce22c1b95d52902 (patch)
treee466b82c209cef288c2f6f92b1bf141b82e308d7 /lib
parent9c58aa743d5232a3eb78c0ee329281709a50b2f6 (diff)
downloadexternal_llvm-38f5c0da6d3097ddd65aaab15ce22c1b95d52902.zip
external_llvm-38f5c0da6d3097ddd65aaab15ce22c1b95d52902.tar.gz
external_llvm-38f5c0da6d3097ddd65aaab15ce22c1b95d52902.tar.bz2
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMCallingConv.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMCallingConv.td b/lib/Target/ARM/ARMCallingConv.td
index d2981c0..5539d28 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<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>>,