[LLVMdev] LLC always has a tab?

ryan baird ryanrbaird at gmail.com
Sat Sep 8 13:45:02 PDT 2012

I forgot to mention, the generated file that has the tab is

On Sat, Sep 8, 2012 at 2:43 PM, ryan baird <ryanrbaird at gmail.com> wrote:

> I'm building a target for the intermediate language of another compiler.
> The other intermediate language is close to an assembly language (RTL, 1
> operation per line), so I based my target off of the Mips target.  However,
> the intermediate language i'm targetting does not support tabs before the
> instructions.  I've looked through the files and found that the tab comes
> from the printInstruction() method, which is generated when compiling.
> Directly after all of the tables it generates, it produces this line:
> O << "\t";
> (O is the output stream)
> Since its in the generated code, I've been looking through the .td files,
> but haven't had any luck. How can I prevent this tab from being generated?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120908/8244aab0/attachment.html>

More information about the llvm-dev mailing list