- Avoid the longer SIB encoding on x86_64 when it's not needed.
commit099109d30e69192a4f1adabdc049891bbb26fd3a
authorEvan Cheng <evan.cheng@apple.com>
Mon, 4 May 2009 22:49:16 +0000 (4 22:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 4 May 2009 22:49:16 +0000 (4 22:49 +0000)
tree438c1a3b71fbf20d29eb30766c4e02a921cb6964
parentbff6b5870e86734e06db607c6962911572ea9677
- Avoid the longer SIB encoding on x86_64 when it's not needed.
- Synchronize instruction length computation code in X86InstrInfo with code in X86CodeEmitter.cpp
Patch by Zoltan Varga.

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