[LLVMdev] making emitInlineAsm protected
echristo at gmail.com
Wed Jan 29 10:01:28 PST 2014
On Wed, Jan 29, 2014 at 9:54 AM, Reed Kotler <rkotler at mips.com> wrote:
> On 01/28/2014 06:29 PM, Eric Christopher wrote:
>> On Tue, Jan 28, 2014 at 4:56 PM, reed kotler <rkotler at mips.com> wrote:
>>> I would like to make the following member of AsmPrinter be protected
>>> void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0,
>>> InlineAsm::AsmDialect AsmDialect =
>>> InlineAsm::AD_ATT) const;
>>> I have some stubs that I want to emit in MipsAsmParser .
>>> Are there any objections to doing this?
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> Stubs to emit in MipsAsmPrinter
> I think you were one of the people that was against me emitting the inline
> asm earlier as part of the IR.
> Well, now I am starting to move that to the back end of code generation due
> to other issues that were not apparent when I first implemented this mips16
> hard float.
> Also, it was agreed at that time that it would be better if possible to do
> things this way.
Why not just note that you need to emit the functions as you output
and then emit them during MC?
More information about the llvm-dev