Displaying 1 result from an estimated 1 matches for "printinlineasm".
2007 Aug 10
2
[LLVMdev] Extending AsmPrinter
...hat
matters on any machine llvm targets is the comment delimeter, which is
already handled by TargetAsmInfo.
Along the same lines, AsmWriterEmitter always dumps this exact
code to each target in the generated printInstruction function:
if (MI->getOpcode() == TargetInstrInfo::INLINEASM) {
printInlineAsm(MI);
return true;
} else if (MI->getOpcode() == TargetInstrInfo::LABEL) {
printLabel(MI);
return true;
}
This could just as well go in the AsmWriter base class and TableGen wouldn't
have to worry about it.
Thoughts?
-Dave