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

Nirav Dave via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 10:50:54 PST 2016


niravd added a comment.

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.

A quick search didn't turn up a definitive description of the MCU ABI to verify that gcc is wrong, so I've returned MCU back to its original behavior for now.


https://reviews.llvm.org/D27050





More information about the llvm-commits mailing list