[LLVMdev] string input for the integrated assembler

Steve King steve at metrokings.com
Wed Mar 18 12:24:54 PDT 2015

On Wed, Mar 18, 2015 at 11:00 AM, Reid Kleckner <rnk at google.com> wrote:
> To try to rephrase, these are the transformations to and from MC in LLVM:
> assembly -> MCInsts
> MachineInstrs -> MCInsts
> MCInsts -> object file
> MCInsts -> assembly
> It sounds you're having trouble translating from MachineInstrs to MCInsts,
> but printing assembly strings from MachineInstrs is easy for some reason.

Thanks, that's probably another way to put it.  The "for some reason"
is because the task of physical instruction selection is especially
complex in my target.  The tblgen'd code in MCTargetAsmParser was a
significant investment and the only way I have to pick an instruction
with a real encoding.

More information about the llvm-dev mailing list