In 64-bit mode, avoid using leal with 32-bit 32-bit address size, e.g.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 5 Oct 2007 20:34:26 +0000 (20:34 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 5 Oct 2007 20:34:26 +0000 (20:34 +0000)
commit559dc46d4609f8a3743daea19fb29fb4dc0ede46
tree4d4cefb2ba3d16f565946724b5ab8fc44bde7049
parent161e897b0fb35d156b2fe720fadabd975b0d6723
In 64-bit mode, avoid using leal with 32-bit 32-bit address size, e.g.
leal 1(%ecx), %edi, which requires 67H prefix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42647 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp