[X86] [MC] fixed non optimal encoding of instruction memory operand (PR24038).
authorKonstantin Belochapka <Konstantin.belochapka@sony.com>
Fri, 22 Sep 2017 23:37:48 +0000 (23:37 +0000)
committerKonstantin Belochapka <Konstantin.belochapka@sony.com>
Fri, 22 Sep 2017 23:37:48 +0000 (23:37 +0000)
commit3477711ec7f72ee79a7709f6cbeb4907df334430
tree50454c50083ba3e0e9a02515a6e6704f4abe4b8d
parent8db6260098ff9f9e37466799b85d7224812c2cb1
[X86] [MC] fixed non optimal encoding of instruction memory operand (PR24038).
Fixed suboptimal encoding of instruction memory operand when assembler is used to select 32 bit fixup rather than 8 bit immediate for encoding memory offset value.
Differential Revision: https://reviews.llvm.org/D38117

llvm-svn: 314044
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/test/MC/X86/x86_64-encoding.s