projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d86f3c
)
ARM: enable struct byval for AAPCS-VFP.
author
Manman Ren
<mren@apple.com>
Mon, 13 Aug 2012 21:22:50 +0000
(21:22 +0000)
committer
Manman Ren
<mren@apple.com>
Mon, 13 Aug 2012 21:22:50 +0000
(21:22 +0000)
This change is to be enabled in clang.
rdar://
9877866
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161789
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMCallingConv.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMCallingConv.td
b/lib/Target/ARM/ARMCallingConv.td
index 5bc429b3b7edf1cb5a82ad609a022bb8504f42a7..bda1517685b1278fcaccc95b0c585ba7a593e39d 100644
(file)
--- a/
lib/Target/ARM/ARMCallingConv.td
+++ b/
lib/Target/ARM/ARMCallingConv.td
@@
-160,6
+160,9
@@
def RetCC_ARM_AAPCS : CallingConv<[
//===----------------------------------------------------------------------===//
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>>,