Tweaks to X86 instructions to allow the 'w' suffix in places it makes
authorKevin Enderby <enderby@apple.com>
Wed, 27 Oct 2010 02:32:19 +0000 (02:32 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 27 Oct 2010 02:32:19 +0000 (02:32 +0000)
commitf4630ecc3f2b80440b2d9e59add56a3b422de684
treefc100e3020d4e7fb2e4629d12368da2f9c7b6300
parent77aee8e22c36257716c2df2f275724765704f20c
Tweaks to X86 instructions to allow the 'w' suffix in places it makes
sense, when the instruction takes the 16-bit ax register or m16 memory
location.  These changes to llvm-mc matches what the darwin assembler
allows for these instructions.  Done differently than in r117031 that
caused a valgrind error which was later reverted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117433 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
test/MC/X86/x86-32.s