summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGLoopInfo.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-02-19 18:15:56 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-02-19 18:15:56 +0000
commitf6fee29ceb7477ab42a233480c866dc90d7b12f6 (patch)
tree2908d26214926ddc65050b204d4506ac79517497 /clang/lib/CodeGen/CGLoopInfo.cpp
parente8019df552fbb25329ee808b06a697cea171b370 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud