[LLVMdev] PR400 - alignment for LD/ST

Schimmel, Mark mark.schimmel at windriver.com
Thu Mar 29 13:33:44 PDT 2007


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? 

-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Devang Patel
Sent: Thursday, March 29, 2007 12:49 PM
To: LLVM Developers Mailing List
Subject: Re: [LLVMdev] PR400 - alignment for LD/ST


On Mar 29, 2007, at 12:24 PM, Christopher Lamb wrote:

> Is anyone actively working on this currently? It's marked as  
> unassigned in BZ.

In next few days I'll get to this. At the moment I'm enabling Packed  
Structure support in llvm-gcc (based on patches developed by other  
llvm developers) and adding support for packed bit fields. As part of  
this work,  alignment for LD/ST is required to access packed structure  
fields which are not aligned naturally.

-
Devang

_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list