llvm.org GIT mirror llvm / 1c6719e
Added a section about Regcall and Vectorcall calling convention changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@295165 91177308-0d34-0410-b5e6-96231b3b80d8 Oren Ben Simhon 3 years ago
1 changed file(s) with 19 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
9494 For more information on LLVM Coroutines and the LLVM implementation, see
9595 `2016 LLVM Developers’ Meeting talk on LLVM Coroutines
9696 `_.
97
98 Regcall and Vectorcall Calling Conventions
99 --------------------------------------------------
100
101 Support was added for _regcall calling convention.
102 Existing __vectorcall calling convention support was extended to include
103 correct handling of HVAs.
104
105 The __vectorcall calling convention was introduced by Microsoft to
106 enhance register usage when passing parameters.
107 For more information please read `__vectorcall documentation
108 `_.
109
110 The __regcall calling convention was introduced by Intel to
111 optimize parameter transfer on function call.
112 This calling convention ensures that as many values as possible are
113 passed or returned in registers.
114 For more information please read `__regcall documentation
115 `_.
97116
98117 Code Generation Testing
99118 -----------------------