[LLVMdev] PR400 - alignment for LD/ST
Devang Patel
dpatel at apple.com
Thu Mar 29 13:53:24 PDT 2007
On Mar 29, 2007, at 1:33 PM, Schimmel, Mark wrote:
> It would be really nice if llvm-as had some extra syntax to let other
> compilers specify the exact layout of a struct. Specifically, I'd
> like
> to specify what the byte offsets are for each field without having to
> insert phony fields. Would this extra functionality fit into your
> work
> at all?
Not completely. I think, LLVM Packed Structure will help make it
little bit easy. See
http://llvm.org/docs/LangRef.html#t_pstruct
if it helps.
-
Devang
More information about the llvm-dev
mailing list