[LLVMdev] Support for bundles of MCInst?

Eli Bendersky eliben at google.com
Thu Nov 29 15:09:53 PST 2012

On Thu, Nov 29, 2012 at 3:00 PM, Mario Guerra <mariog at codeaurora.org> wrote:
> Hello all,
> We're developing an integrated assembler for a VLIW target, and some of the
> optimizing our assembler needs to do must be done on a per-packet basis.
> This requires us to be able to traverse instruction within a packet, and one
> particular optimization requires traversal of previous packets as well.
> We're considering adding support for MCInst bundles in the MC layer to
> accommodate this use case, analogous to what currently exists for
> MachineInstr. Has anyone given thought to this before? Is there already a
> way to create bundles in the MC layer that we've overlooked?
> Any comments or suggestions are appreciated.

Could you elaborate on this proposal in a bit more detail? What will
the semantics of these MCInst bundles be, how will they be generated,
and what special treatment will they get from the assembler?

Thanks in advance,

More information about the llvm-dev mailing list