[x86] clean up code for converting 16-bit ops to LEA; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 11 Dec 2018 15:29:40 +0000 (15:29 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 11 Dec 2018 15:29:40 +0000 (15:29 +0000)
commit05e36982dd413dd69f75011649f5e09612fe400d
treea4bf62034ababd4c5960e0d8ba99a5b54beeee80
parent17b65c0d584ad7860aabdcadca6abc816d860929
[x86] clean up code for converting 16-bit ops to LEA; NFC

As discussed in D55494, we want to extend this to handle 8-bit
ops too, but that could be extended further to enable this on
32-bit systems too.

llvm-svn: 348851
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.h