diff options
author | Zhiyao Ma <zhiyao.ma.98@gmail.com> | 2023-05-02 10:23:19 +0100 |
---|---|---|
committer | John Brawn <john.brawn@arm.com> | 2023-05-02 13:09:49 +0100 |
commit | 1d0ccebcd725309399262af346494242b064e2ed (patch) | |
tree | a4849e826941ce1a37167801e7e745a17b42240e /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 39e8e59950b1a4b5dadd398d1788bc79bb7b2879 (diff) | |
download | llvm-1d0ccebcd725309399262af346494242b064e2ed.zip llvm-1d0ccebcd725309399262af346494242b064e2ed.tar.gz llvm-1d0ccebcd725309399262af346494242b064e2ed.tar.bz2 |
[ARM] Don't allocate memory if free space in segmented stack is just enough
Assuming that the stack grows downwards, it is fine if the stack
pointer is exactly at the stacklet boundary. We should use
less-or-equal condition when deciding whether to skip new memory
allocation.
Differential Revision: https://reviews.llvm.org/D149315
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions