- Avoid the longer SIB encoding on x86_64 when it's not needed.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 4 May 2009 22:49:16 +0000 (22:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 4 May 2009 22:49:16 +0000 (22:49 +0000)
commitb0030ddca469b3372630b0c01c21245ef0027aa0
tree438c1a3b71fbf20d29eb30766c4e02a921cb6964
parent35738ac150afafe2359268d4b2169498c6c98c5f
- 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