[PATCH] D19896: [ARM] Fix Scavenger assert due to underestimated stack size

Weiming Zhao via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 18:23:52 PDT 2016


weimingz created this revision.
weimingz added a subscriber: llvm-commits.
weimingz set the repository for this revision to rL LLVM.
Herald added subscribers: srhines, danalbert, tberghammer, rengolin, aemerson.

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.




Repository:
  rL LLVM

http://reviews.llvm.org/D19896

Files:
  lib/Target/ARM/ARMFrameLowering.cpp
  test/CodeGen/ARM/2016-05-01-RegScavengerAssert.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19896.56083.patch
Type: text/x-patch
Size: 12390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160504/a79e4a6c/attachment.bin>


More information about the llvm-commits mailing list