mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Teach LocalStackSlotAllocation that stackmaps/patchpoints don't have range
constraints on their frame offsets. llvm-svn: 195950
This commit is contained in:
parent
69f21285ed
commit
7883c4d5ae
@ -233,9 +233,11 @@ bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) {
|
||||
for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ++I) {
|
||||
MachineInstr *MI = I;
|
||||
|
||||
// Debug value instructions can't be out of range, so they don't need
|
||||
// any updates.
|
||||
if (MI->isDebugValue())
|
||||
// Debug value, stackmap and patchpoint instructions can't be out of
|
||||
// range, so they don't need any updates.
|
||||
if (MI->isDebugValue() ||
|
||||
MI->getOpcode() == TargetOpcode::STACKMAP ||
|
||||
MI->getOpcode() == TargetOpcode::PATCHPOINT)
|
||||
continue;
|
||||
|
||||
// For now, allocate the base register(s) within the basic block
|
||||
|
Loading…
x
Reference in New Issue
Block a user