[PATCH] D113894: [x86] Make assembler variant selection work when outputting intel-style asm

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 15 11:56:15 PST 2021


craig.topper added a comment.

In D113894#3132406 <https://reviews.llvm.org/D113894#3132406>, @thakis wrote:

> In D113894#3132343 <https://reviews.llvm.org/D113894#3132343>, @craig.topper wrote:
>
>> I think gcc's documentation says that inline assembly parsing variant follows `-masm`?
>
> Right, that's what I'm trying to make happen (in D113707 <https://reviews.llvm.org/D113707>), and this is one of the prereqs to making the llvm bits work for that. With that patch, TUs compiled with `-masm=intel` will emit `asm inteldialect` instrs for inline asm.

I thought `asm inteldialect` is used to select `EmitMSInlineAsmStr` in AsmPrinterInlineAsm.cpp. Is that also changing?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113894/new/

https://reviews.llvm.org/D113894



More information about the llvm-commits mailing list