aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-11 08:41:21 +0000
committerChris Lattner <sabre@nondot.org>2010-02-11 08:41:21 +0000
commit5526b699014b0b58e08d7d43e28084589eda26f2 (patch)
tree4112470d983f9707f44fd85551a1d6ca41bb502e /lib/CodeGen/TwoAddressInstructionPass.cpp
parentd8735356a36fb04dfcfd9520f9785c0c3739b4a1 (diff)
fix a really nasty bug I introduced in r95693: r12 (and r12d,
r12b, etc) also encodes to a R/M value of 4, which is just as illegal as ESP/RSP for the non-sib version an address. This fixes x86-64 jit miscompilations of a bunch of programs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions