[X86][MC] Intel syntax: accept implicit memory operand sizes larger than 80.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 3 Dec 2014 02:03:26 +0000 (02:03 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 3 Dec 2014 02:03:26 +0000 (02:03 +0000)
commitd65f787a5f885fae7ca5919b1bccdc56a7d3a0d4
tree1e6132df88d3c4a7063127829bdd8e14de1b6f5a
parent736a99382873f9d4ab8b42e93282c4fadb61e8cc
[X86][MC] Intel syntax: accept implicit memory operand sizes larger than 80.

The X86AsmParser intel handling was refactored in r216481, making it
try each different memory operand size to see which one matches.
Operand sizes larger than 80 ("[xyz]mmword ptr") were forgotten, which
led to an "invalid operand" error for code such as:
  movdqa [rax], xmm0

llvm-svn: 223187
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/test/MC/X86/intel-syntax-unsized-memory.s [new file with mode: 0644]