mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 15:40:47 -07:00
Turn Copy into Fill in HybridAllocator (#2010)
* Turn Copy into Fill in HybridAllocator * Set PTC internal verison
This commit is contained in:
@ -236,6 +236,15 @@ namespace ARMeilleure.CodeGen.RegisterAllocators
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (node is Operation operation && operation.Instruction == Instruction.Copy)
|
||||
{
|
||||
Operation fillOp = Operation(Instruction.Fill, node.Destination, Const(info.SpillOffset));
|
||||
|
||||
block.Operations.AddBefore(node, fillOp);
|
||||
block.Operations.Remove(node);
|
||||
|
||||
node = fillOp;
|
||||
}
|
||||
else
|
||||
{
|
||||
Operand temp = info.Temp;
|
||||
|
Reference in New Issue
Block a user