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

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 17:01:43 PST 2017


rnk added a comment.

In https://reviews.llvm.org/D27050#610810, @niravd wrote:

> This new version leaves the old inreg computation in place but add library-call-only calling conventions to deal with libcalls (one for C and one for StdCall). Not ideal, but does work.


Can you elaborate on why we need these new calling conventions? I thought that just the module flag would be enough to get things right.


https://reviews.llvm.org/D27050





More information about the llvm-commits mailing list