[LLVMdev] [RFC] Extending MachineInstr.Flags

Anton Korobeynikov anton at korobeynikov.info
Tue Jan 3 08:14:46 PST 2012


Hello

> Would it be advisable to extend and use the "MachineInstr.Flags" field for
> this purpose? Right now this flag seems to consume 2bits space out of total
> 8 (uint8_t). Could we extend this field to say 32bit or better yet to 64bits
> like MCInstrDesc.TSFlags? Any suggestions/ideas welcome.
While the use of Flags looks really easy approach I don't think it
should be used for this purpose.
You might want to check the "MachinInstr bundle" thread for discussion
on different approaches for VLIW-like MI representations.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list