[x32] x32 should use ebx as the base pointer.
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 24 Feb 2015 15:27:13 +0000 (15:27 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 24 Feb 2015 15:27:13 +0000 (15:27 +0000)
commit2379e8a2eefc5908fabaf8ac1ffd3c7432621132
treeb7348bd5f909c9e5b193900cba3ad48fe1ed2132
parentcccfe54933eb66c64ff1767a0894b2a638fa29cb
[x32] x32 should use ebx as the base pointer.

This fixes the original issue in PR22655, but not the secondary one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230334 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
test/CodeGen/X86/x86-64-baseptr.ll [new file with mode: 0644]