commit | 9e8528fc5cd7426884c1708d921d4608ac3878b7 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Feb 09 21:47:19 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Feb 09 21:47:19 2010 +0000 |
tree | c6d803f03f7a4f3fc5996a107a5ef91f04aaebd7 | |
parent | 415326b4edcc967dfb03c5ab41923b195e7c3cb1 [diff] |
fix X86 encoder to output [disp] only addresses with no SIB byte in X86-32 mode. This is still required in x86-64 mode to avoid forming [disp+rip] encoding. Rewrite the SIB byte decision logic to be actually understandable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95693 91177308-0d34-0410-b5e6-96231b3b80d8