[PATCH] D107547: [CodeGen] More bits for calling convention
Xinglong Liao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 2 00:47:43 PDT 2021
Xinglong updated this revision to Diff 370177.
Xinglong retitled this revision from "[CodeGen] Align calling convention bit-width to bitcode" to "[CodeGen] More bits for calling convention".
Xinglong edited the summary of this revision.
Xinglong added a comment.
Some patch broken the single 32-bit unit, so here use 16 bits is better.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107547/new/
https://reviews.llvm.org/D107547
Files:
clang/include/clang/CodeGen/CGFunctionInfo.h
Index: clang/include/clang/CodeGen/CGFunctionInfo.h
===================================================================
--- clang/include/clang/CodeGen/CGFunctionInfo.h
+++ clang/include/clang/CodeGen/CGFunctionInfo.h
@@ -552,14 +552,14 @@
/// The LLVM::CallingConv to use for this function (as specified by the
/// user).
- unsigned CallingConvention : 8;
+ unsigned CallingConvention : 16;
/// The LLVM::CallingConv to actually use for this function, which may
/// depend on the ABI.
- unsigned EffectiveCallingConvention : 8;
+ unsigned EffectiveCallingConvention : 16;
/// The clang::CallingConv that this was originally created with.
- unsigned ASTCallingConvention : 6;
+ unsigned ASTCallingConvention : 16;
/// Whether this is an instance method.
unsigned InstanceMethod : 1;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107547.370177.patch
Type: text/x-patch
Size: 818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210902/816a4428/attachment.bin>
More information about the cfe-commits
mailing list