[X86] Avoid unecessary opsize byte in segment move to memory
authorNirav Dave <niravd@google.com>
Mon, 20 Nov 2017 18:38:55 +0000 (18:38 +0000)
committerNirav Dave <niravd@google.com>
Mon, 20 Nov 2017 18:38:55 +0000 (18:38 +0000)
commit3669061298f694d9c060e530fb9b4ec633b7b0e6
tree66d36436a3a04c59c1b1baa704d75b892dca4d56
parent3309002a868382abc57804507a92be4d5c400c6d
[X86] Avoid unecessary opsize byte in segment move to memory

Summary:

Segment moves to memory are always 16-bit. Remove invalid 32 and 64
bit variants.

Fixes PR34478.

Reviewers: rnk, craig.topper

Subscribers: llvm-commits, hiraditya

Differential Revision: https://reviews.llvm.org/D39847

llvm-svn: 318678
llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
llvm/lib/Target/X86/X86InstrFormats.td
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86InstrSystem.td
llvm/lib/Target/X86/X86SchedSandyBridge.td
llvm/test/MC/Disassembler/X86/x86-16.txt
llvm/test/MC/X86/x86-16.s
llvm/test/MC/X86/x86-32.s
llvm/test/MC/X86/x86-64.s