[PATCH] D40318: [RISCV] Define PendingArgFlags function in CallingConvLower.h
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 12:15:54 PST 2017
mgrang created this revision.
This fixes build error due to missing function definition.
Repository:
rL LLVM
https://reviews.llvm.org/D40318
Files:
include/llvm/CodeGen/CallingConvLower.h
Index: include/llvm/CodeGen/CallingConvLower.h
===================================================================
--- include/llvm/CodeGen/CallingConvLower.h
+++ include/llvm/CodeGen/CallingConvLower.h
@@ -201,6 +201,7 @@
unsigned MaxStackArgAlign;
SmallVector<uint32_t, 16> UsedRegs;
SmallVector<CCValAssign, 4> PendingLocs;
+ SmallVector<ISD::ArgFlagsTy, 4> PendingArgFlags;
// ByValInfo and SmallVector<ByValInfo, 4> ByValRegs:
//
@@ -503,11 +504,16 @@
InRegsParamsProcessed = 0;
}
- // Get list of pending assignments
+ // Get list of pending assignments.
SmallVectorImpl<CCValAssign> &getPendingLocs() {
return PendingLocs;
}
+ // Get a list of argflags for pending assignments.
+ SmallVectorImpl<ISD::ArgFlagsTy> &getPendingArgFlags() {
+ return PendingArgFlags;
+ }
+
/// Compute the remaining unused register parameters that would be used for
/// the given value type. This is useful when varargs are passed in the
/// registers that normal prototyped parameters would be passed in, or for
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40318.123836.patch
Type: text/x-patch
Size: 1057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171121/fb64460e/attachment.bin>
More information about the llvm-commits
mailing list