diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-02-19 18:15:56 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-02-19 18:15:56 +0000 |
commit | f6fee29ceb7477ab42a233480c866dc90d7b12f6 (patch) | |
tree | 2908d26214926ddc65050b204d4506ac79517497 /clang/lib/CodeGen/CGLoopInfo.cpp | |
parent | e8019df552fbb25329ee808b06a697cea171b370 (diff) | |
download | bcm5719-llvm-f6fee29ceb7477ab42a233480c866dc90d7b12f6.tar.gz bcm5719-llvm-f6fee29ceb7477ab42a233480c866dc90d7b12f6.zip |
[StatepointLowering] Update StatepointMaxSlotsRequired correctly
Now that we don't always add an element to AllocatedStackSlots if we
don't find a pre-existing unallocated stack slot, bumping
StatepointMaxSlotsRequired to `NumSlots + 1` is not correct. Instead
bump the statistic near the push_back, to
Builder.FuncInfo.StatepointStackSlots.size().
llvm-svn: 261348
Diffstat (limited to 'clang/lib/CodeGen/CGLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions