[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)
commitad41590c484c285d7c15b5c248138dd52ce30e4a
tree8fa53ef6bf09032754a042f89e3854850a82654f
parent5ab94e7135fe4fabbe9934e344b894de21063d92
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
test/MC/X86/intel-syntax-unsized-memory.s [new file with mode: 0644]