[llvm-commits] [llvm] r144021 - /llvm/trunk/lib/Target/ARM/ARMCallingConv.td
Chad Rosier
mcrosier at apple.com
Mon Nov 7 13:43:40 PST 2011
Author: mcrosier
Date: Mon Nov 7 15:43:40 2011
New Revision: 144021
URL: http://llvm.org/viewvc/llvm-project?rev=144021&view=rev
Log:
Allow i1 to be promoted to i32 for ARM AAPCS and AAPCS-VFP calling convention as well.
Modified:
llvm/trunk/lib/Target/ARM/ARMCallingConv.td
Modified: llvm/trunk/lib/Target/ARM/ARMCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMCallingConv.td?rev=144021&r1=144020&r2=144021&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMCallingConv.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMCallingConv.td Mon Nov 7 15:43:40 2011
@@ -89,7 +89,7 @@
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
More information about the llvm-commits
mailing list