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
Paths
| Differential D88548
Fix limit behavior of dynamic alloca ClosedPublic Authored by serge-sans-paille on Sep 30 2020, 3:12 AM.
Details Summary 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
Event TimelineThis revision is now accepted and ready to land.Sep 30 2020, 12:23 PM Closed by commit rG9573c9f2a363: Fix limit behavior of dynamic alloca (authored by serge-sans-paille). · Explain WhyOct 2 2020, 2:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 295762 llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
|