HomePhabricator

Fix limit behavior of dynamic alloca

Authored by serge-sans-paille on Sep 30 2020, 2:35 AM.

Description

Fix limit behavior of dynamic alloca

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 Revision: https://reviews.llvm.org/D88548