mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-23 22:06:19 +00:00
AMDGPU: Don't use estimated stack size when we know the real stack size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12cb9f057f
commit
c8a36aecdf
@ -482,7 +482,7 @@ void AMDGPUAsmPrinter::getSIProgramInfo(SIProgramInfo &ProgInfo,
|
||||
ProgInfo.DX10Clamp = 1;
|
||||
|
||||
const MachineFrameInfo *FrameInfo = MF.getFrameInfo();
|
||||
ProgInfo.ScratchSize = FrameInfo->estimateStackSize(MF);
|
||||
ProgInfo.ScratchSize = FrameInfo->getStackSize();
|
||||
|
||||
ProgInfo.FlatUsed = FlatUsed;
|
||||
ProgInfo.VCCUsed = VCCUsed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user