[LLVMdev] proposal to simplify isel/asmprinter interaction with globals

Chris Lattner clattner at apple.com
Mon Jun 22 16:51:27 PDT 2009


On Jun 22, 2009, at 11:49 AM, Evan Cheng wrote:

>>
>> etc.  The possible set of suffixes and modifiers are all target-
>> specific, so the main code generator would just pass them through (as
>> it does now).
>>
>> Does anyone have any objections to this?
>
> Can you reorg MachineOperand fields while you are at it? :-) Right now
> each MachineOperand uses 8 bits for type, followed by 5 bits for
> various flags, then a whole 8-bit for subreg.  If we use just 3-bit
> for subreg (should be enough?), the target independent part will just
> take up 16-bits and leave plenty of room for target flags.

Yep, I'll clean this up when I get a chance,

-Chris



More information about the llvm-dev mailing list