[llvm-commits] representing the alignment of a function argument

Rafael Espindola espindola at google.com
Sat Sep 1 00:46:12 PDT 2007

> Where do you need the representation? Loads and stores in the LLVM IR and
> the target-independent load and store nodes in the SelectionDAG IR have an
> alignment attribute; are either of those sufficient?

I need the alignment while expanding a call to a function. In this
case I have the DAG nodes for what is to be passed and for the formal
argument. I need to create a store or a memcpy. The best alignment I
can get so far is the ABI type alignment.

> Dan

Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4

Registered in Dublin, Ireland
Registration Number: 368047

More information about the llvm-commits mailing list