mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 02:05:01 +00:00
[x32] Mark RBX as reserved when EBX is the base pointer.
This should have gone into r230334. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
269510242b
commit
09d756a7e0
@ -355,7 +355,9 @@ BitVector X86RegisterInfo::getReservedRegs(const MachineFunction &MF) const {
|
||||
"Stack realignment in presence of dynamic allocas is not supported with"
|
||||
"this calling convention.");
|
||||
|
||||
for (MCSubRegIterator I(getBaseRegister(), this, /*IncludeSelf=*/true);
|
||||
unsigned BasePtr = getX86SubSuperRegister(getBaseRegister(), MVT::i64,
|
||||
false);
|
||||
for (MCSubRegIterator I(BasePtr, this, /*IncludeSelf=*/true);
|
||||
I.isValid(); ++I)
|
||||
Reserved.set(*I);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user