[llvm-commits] [llvm] r126336 - in /llvm/trunk: lib/MC/MCParser/AsmParser.cpp test/MC/AsmParser/exprs.s test/MC/AsmParser/paren.s

Jim Grosbach grosbach at apple.com
Wed Feb 23 13:51:38 PST 2011


On Feb 23, 2011, at 1:48 PM, Rafael Avila de Espindola wrote:

> On 11-02-23 04:26 PM, Jim Grosbach wrote:
>> Author: grosbach
>> Date: Wed Feb 23 15:26:51 2011
>> New Revision: 126336
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=126336&view=rev
>> Log:
>> Revert r125595, which is an X86-only undocumented assembly syntax extension
>> enabled for all targets. Non-X86 targets should not have this behavior
>> enabled by default.
> 
> This is an undocumented extension, but it is *not* x86 only. The 
> following *is* accepted by gas for ARM:
> 
> _foo:
> _bar:
> 	add r0, r1, #[_foo - _bar]
> 

Somewhat arguing semantics at this point, honestly. By X86-only I simply mean that the extension was added to LLVM because of a need in X86 which has not manifested in other targets. Sorry for any confusion.

-j



More information about the llvm-commits mailing list