[llvm-commits] [llvm-gcc-4.2] r43909 - in /llvm-gcc-4.2/trunk/gcc: config/arm/arm.h llvm-convert.cpp

Chris Lattner clattner at apple.com
Thu Nov 8 22:07:45 PST 2007


On Nov 8, 2007, at 2:58 PM, Lauro Ramos Venancio wrote:

> 2007/11/8, Chris Lattner <clattner at apple.com>:
>> On Nov 8, 2007, at 2:10 PM, Lauro Ramos Venancio wrote:
>>> Author: laurov
>>> Date: Thu Nov  8 16:10:12 2007
>>> New Revision: 43909
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=43909&view=rev
>>> Log:
>>> Implement the '%@' inline asm ARM extension.
>>
>> Hey Lauro,
>>
>> in .td files, you can use "${:comment}" to print the comment
>> character, does this work in inline asm?
>
> I don't think so.
>
> Error message:
> Bad $ operand number in inline asm string: '${:comment test}

Does it make sense to make this work?  It seems much better than  
having to hack arm.h for every subtarget that doesn't use @ as a  
comment character.

-Chris



More information about the llvm-commits mailing list