[PATCH] Set basic block start as microMIPS

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jan 13 13:31:06 PST 2014


On 13 January 2014 12:11, Jack Carter <Jack.Carter at imgtec.com> wrote:
> Ok, with the latest changes of the backend using the MC interface I see it.
>
> I'm assuming you want the "hack" routine to stay in place for default and commandline eheader checking or having both AsmPrinter and AsmParser using the same interface and just having llvm-mc produce the test case good enough?

The hack directives should be replaced by the real mips assembly
syntax, whatever that is. The header was already being constructed by
gas before llvm, so there has to be a way to produce it.

As for this patch, it is changing CodeGen, so it should be checking
the produced assembly. Given that it is using emitMipsHackSTOCG, it
would probably be better to first replace that method with the real
mips assembly syntax.

Cheers,
Rafael



More information about the llvm-commits mailing list