[PATCH] Add explicit Win64 and System V calling conventions to the x86_64 backend

Charles Davis cdavis5x at gmail.com
Tue Apr 30 08:02:33 PDT 2013


Hi asl, nadav,

This patch adds explicit calling convention types for the Win64 and System V/x86-64 ABIs. This allows code to override the default, and use the Win64 convention on a target that wants to use SysV (and vice-versa). This is needed to implement the `ms_abi` and `sysv_abi` GNU attributes.

http://llvm-reviews.chandlerc.com/D729

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/X86FastISel.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/win64_params.ll
  test/CodeGen/X86/win_chkstk.ll
  utils/vim/llvm.vim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D729.1.patch
Type: text/x-patch
Size: 14336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130430/0a6db1d3/attachment.bin>


More information about the llvm-commits mailing list