[PATCH] D27050: [X86] Add explicit regparm flag for X86-32 calling convention.

Nirav Dave via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 08:18:47 PST 2016


niravd created this revision.
niravd added reviewers: rnk, mkuper.
niravd added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

This allows builtins calls to be generated with the callign
convention. Modulo the nest register, this brings the MCU calling
convention almost in agreement with the default C convention.

Eventually this should be a function attribute / subtarget
feature but this requires significant reworking.


https://reviews.llvm.org/D27050

Files:
  include/llvm/CodeGen/CommandFlags.h
  include/llvm/Target/TargetOptions.h
  lib/Target/X86/X86CallingConv.h
  lib/Target/X86/X86CallingConv.td
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/regparm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27050.79087.patch
Type: text/x-patch
Size: 11316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161123/988da10c/attachment.bin>


More information about the llvm-commits mailing list