The Register Calling Convention (RegCall) was introduced by Intel to optimize parameter transfer on function call.
This calling convention ensures that as many values as possible are passed or returned in registers.
The following review presents the basic additions to LLVM CodeGen in order to support RegCall in X86.
The review also includes two lit files that exhaustively test regcall in various configurations.
format