]> granicus.if.org Git - llvm/commit
[ARM] Fix Scavenger assert due to underestimated stack size
authorWeiming Zhao <weimingz@codeaurora.org>
Wed, 4 May 2016 18:19:33 +0000 (18:19 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Wed, 4 May 2016 18:19:33 +0000 (18:19 +0000)
commitd88cc0862bf7da64850b89e9bb5ea9f95e7f1184
tree01eb789dee907de4bc551e4316a68720fe476e9d
parentc8decc5d852d5ca7a659077b05ce46cdbe1a2cf9
[ARM] Fix Scavenger assert due to underestimated stack size

Summary:
Currently, when checking if a stack is "BigStack" or not, it doesn't count into spills and arguments. Therefore, LLVM won't reserve spill slot for this actually "BigStack". This may cause scavenger failure.

Reviewers: rengolin

Subscribers: aemerson, rengolin, tberghammer, danalbert, srhines, llvm-commits

Differential Revision: http://reviews.llvm.org/D19896

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268529 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameLowering.cpp
test/CodeGen/ARM/2016-05-01-RegScavengerAssert.ll [new file with mode: 0644]