[x86] remove dead code for 16-bit LEA formation; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 11 Dec 2018 14:05:03 +0000 (14:05 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 11 Dec 2018 14:05:03 +0000 (14:05 +0000)
commit9765ba5f86ebc235fb1fc6e491bfb15026b6e0d9
treef1289addb6b56be1d73b09bb841490242e8c13ad
parent8b6434bbb9f9414e88c462c0761b2bd50ef65d92
[x86] remove dead code for 16-bit LEA formation; NFC

As discussed in:
D55494
...this code has been disabled/dead for a long time (the code references
Athlon and Pentium 4), and there's almost no chance that it will be used
given the last decade of uarch evolution. Also, in SDAG we promote 16-bit
ops to 32-bit, so there's almost no way to test this code any more.

llvm-svn: 348845
llvm/lib/Target/X86/X86InstrInfo.cpp