[llvm-commits] [llvm] r111945 - in /llvm/trunk: lib/Target/X86/AsmParser/X86AsmParser.cpp test/MC/AsmParser/X86/x86_instructions.s

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Tue Aug 24 13:17:13 PDT 2010


On Tue, Aug 24, 2010 at 12:40 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Aug 24, 2010, at 12:13 PM, Daniel Dunbar wrote:
>
>> Author: ddunbar
>> Date: Tue Aug 24 14:13:38 2010
>> New Revision: 111945
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=111945&view=rev
>> Log:
>> MC/X86: Warn on scale factors > 1 without index register, instead of erroring,
>> for 'as' compatibility.
>
> Is there a legitimate use for this?  Why not reject it?

Another approach would be to only accept these cases when the
instruction explicitly
use "eiz" and "riz" pseudo index registers (introduced in r109295).


-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc




More information about the llvm-commits mailing list