Index: include/llvm/CodeGen/CallingConvLower.h =================================================================== --- include/llvm/CodeGen/CallingConvLower.h +++ include/llvm/CodeGen/CallingConvLower.h @@ -201,6 +201,7 @@ unsigned MaxStackArgAlign; SmallVector UsedRegs; SmallVector PendingLocs; + SmallVector PendingArgFlags; // ByValInfo and SmallVector ByValRegs: // @@ -503,11 +504,16 @@ InRegsParamsProcessed = 0; } - // Get list of pending assignments + // Get list of pending assignments. SmallVectorImpl &getPendingLocs() { return PendingLocs; } + // Get a list of argflags for pending assignments. + SmallVectorImpl &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