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

Chris Lattner clattner at apple.com
Thu Jul 30 21:51:46 PDT 2009


On Jul 30, 2009, at 9:17 PM, David Greene wrote:

> Chris Lattner wrote:
>
>>> So once we start putting tabs in .td files everyone is stuck with
>>> them.
>>
>> Too bad.  We can do the right thing for each target.  We don't have  
>> to
>
> What do you mean by, "the right thing?"
>
>> support "indent" style rules for .s files, just pick one approach and
>> be consistent.  Since you care them most about this, you can pick the
>> rules.
>
> Well, I sorta did that but the complexity is apparently too much.  I
> really don't like the idea of tabs because I want people to be able
> to be completely unaffected by this.  I suppose that I could strip the
> tabs and replace with a single space if alignment is turned off.  How
> does that sound?

Yep, that sounds like hte right thing to me.  If verbose-asm is off,  
outputting \t as a space or a literal \t makes sense!

-Chris



More information about the llvm-commits mailing list