Add predicate method check match memory operand size, if available.
authorDevang Patel <dpatel@apple.com>
Thu, 12 Jan 2012 01:51:42 +0000 (01:51 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 12 Jan 2012 01:51:42 +0000 (01:51 +0000)
commitc59d9df2487accc82c2d128bba2aaf029c4a077d
treea9e7e129ad0fc9fae156c7ae2e04f3d4426bb9d0
parent805e2247fc915246f0409d107233328a6dc2ba78
Add predicate method check match memory operand size, if available.

In att style asm syntax memory operand size is derived from suffix attached with mnemonic.  In intel style asm syntax it is part of memory operand hence predicate method check is required to select appropriate instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148006 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
lib/Target/X86/X86InstrInfo.td