When the allocation size is 0, we shouldn't probe. Within [1, PAGE_SIZE], we should probe once etc.
This fixes https://bugs.llvm.org/show_bug.cgi?id=47657
Differential D88548
Fix limit behavior of dynamic alloca Authored by serge-sans-paille on Sep 30 2020, 3:12 AM.
Details When the allocation size is 0, we shouldn't probe. Within [1, PAGE_SIZE], we should probe once etc. This fixes https://bugs.llvm.org/show_bug.cgi?id=47657
Diff Detail
|