[llvm-commits] [llvm] r77499 - /llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp

David A. Greene greened at obbligato.org
Thu Jul 30 15:15:08 PDT 2009


On Thursday 30 July 2009 16:12, Chris Lattner wrote:

> >   And
> > not everyone wants this kind of padding.  A tab is a bit much for
> > some folks
> > and that's completely understandable.
>
> I'm not sure why someone wouldn't want this.  IF they don't want
> indentation, they can just not use \t??

This isn't indentation.  This is a patch to line up operands, like this:

opcode		op1,       op2,       [op3+op4]
opcode		[op1+op2], op3,       op4

Some people like the way things are now:

opcode		op1, op2, [op3+op4]
opcode		[op1+op2], op3, op4

and won't like (with tabs):

opcode		op1,	op2,	[op3+op4]
opcode		[op1+op2],	op3,	op4

So once we start putting tabs in .td files everyone is stuck with them.

                          -Dave



More information about the llvm-commits mailing list