"sldt <mem>" is ambiguous in 64-bit mode, but should
authorChris Lattner <sabre@nondot.org>
Mon, 6 Sep 2010 23:51:44 +0000 (23:51 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Sep 2010 23:51:44 +0000 (23:51 +0000)
commitc5cebeb3cb44a3fd0aaee956431159757ee47914
tree20ad8b4514f02173e9c38da8079147581a43d919
parentd68c474ec55a3dd43f9fa8ea4c89e5fae62909ab
"sldt <mem>" is ambiguous in 64-bit mode, but should
always be disambiguated as sldtw.  sldtw and sldtq with
a mem operands have the same effect, but sldtw is more
compact.  Force it to sldtw, resolving rdar://8017530

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