aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOutliner.cpp
diff options
context:
space:
mode:
authorRoger Ferrer Ibanez <roger.ferrer@bsc.es>2021-01-09 16:49:05 +0000
committerRoger Ferrer Ibanez <roger.ferrer@bsc.es>2021-01-09 16:51:09 +0000
commit524d8fa9a5a5428628a21a91016a52a54a9fe838 (patch)
tree7b2c9acb40b6e14231c1b2ca510c988862a6fbd4 /llvm/lib/CodeGen/MachineOutliner.cpp
parent65f578fc0e6fb10bb84f3dea906f8fb1230c1ab3 (diff)
downloadllvm-524d8fa9a5a5428628a21a91016a52a54a9fe838.zip
llvm-524d8fa9a5a5428628a21a91016a52a54a9fe838.tar.gz
llvm-524d8fa9a5a5428628a21a91016a52a54a9fe838.tar.bz2
[RISCV] Do not grow the stack a second time when we need to realign the stack
This is a first change needed to fix a crash in which the emergency spill splot ends being out of reach. This happens when we run the register scavenger after we have eliminated the frame indexes. The fix for the actual crash will come in a later change. This change removes an extra stack size increase we do in RISCVFrameLowering::determineFrameLayout. We don't have to change the size of the stack here as PEI::calculateFrameObjectOffsets is already doing this with the right size accounting the extra alignment. Differential Revision: https://reviews.llvm.org/D89237
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions