[PATCH] Inserting directives directly after inline asm blocks

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Apr 25 12:36:39 PDT 2013


On 25 April 2013 11:35, Jack Carter <Jack.Carter at imgtec.com> wrote:
> Rafael,
>
> Thanks for looking at this.
>
> Yes, it is on our road map for llvm-mc to support .set reorder and to have that as the defacto default for historical purposes.
>
> I don't understand the other suggestions though. I thought I generated this codegen operation like the the others. How is this different? Is there a precedent? Some example that I can model?

There is only one suggestion really, not using hasRawTextSupport.

You would need a emitReorder and emitNoReorder methods. The asm
implementation just prints ".set reorder" and ".set noreorder". The
object implementation for emitNoReorder is a nop (that is the only
supported mode right now) and emitReorder produces a "not implemented
yet error.

> Jack

Cheers,
Rafael



More information about the llvm-commits mailing list