[LLVMdev] Fwd: Build Attributes Proposal

Renato Golin rengolin at systemcall.org
Wed Nov 17 15:33:16 PST 2010


On 17 November 2010 23:13, Sandeep Patel <deeppatel1987 at gmail.com> wrote:
> I suppose per-function is best. I'd argue that the ARM attributes are
> all per-function as well. My favorite example is
> __attribute__((pcs("aapcs-vfp"))) as a function attribute to select
> the calling convention.
>
> Maybe these attributes could referenced like metadata so they can be
> merged if identical?

LLVM IR already represents that as aapcs_vfpcc function attribute.

cheers,
--renato



More information about the llvm-dev mailing list