[PATCH] D25022: Register Calling Convention - CodeGen Basic Additions

Oren Ben Simhon via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 07:35:57 PDT 2016


oren_ben_simhon created this revision.
oren_ben_simhon added reviewers: delena, zvi, erichkeane.
oren_ben_simhon added a subscriber: llvm-commits.
oren_ben_simhon set the repository for this revision to rL LLVM.
Herald added a subscriber: mehdi_amini.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D25022

Files:
  include/llvm/IR/CallingConv.h
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/IR/AsmWriter.cpp
  lib/Target/X86/X86CallingConv.td
  lib/Target/X86/X86RegisterInfo.cpp
  test/CodeGen/X86/avx512-regcall-NoMask.ll
  test/CodeGen/X86/sse-regcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25022.72824.patch
Type: text/x-patch
Size: 42238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160928/771e43e2/attachment.bin>


More information about the llvm-commits mailing list