[llvm-commits] [llvm] r161789 - /llvm/trunk/lib/Target/ARM/ARMCallingConv.td
Manman Ren
mren at apple.com
Mon Aug 13 14:22:50 PDT 2012
Author: mren
Date: Mon Aug 13 16:22:50 2012
New Revision: 161789
URL: http://llvm.org/viewvc/llvm-project?rev=161789&view=rev
Log:
ARM: enable struct byval for AAPCS-VFP.
This change is to be enabled in clang.
rdar://9877866
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=161789&r1=161788&r2=161789&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMCallingConv.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMCallingConv.td Mon Aug 13 16:22:50 2012
@@ -160,6 +160,9 @@
//===----------------------------------------------------------------------===//
def CC_ARM_AAPCS_VFP : CallingConv<[
+ // Handles byval parameters.
+ CCIfByVal<CCPassByVal<4, 4>>,
+
// Handle all vector types as either f64 or v2f64.
CCIfType<[v1i64, v2i32, v4i16, v8i8, v2f32], CCBitConvertToType<f64>>,
CCIfType<[v2i64, v4i32, v8i16, v16i8, v4f32], CCBitConvertToType<v2f64>>,
More information about the llvm-commits
mailing list