If we probe *after* each static stack allocation, we need to probe *before* each
dynamic stack allocation. Provide a scheme to describe the possible scenario.
Thanks a lot to @jonpa for motivating this fix.
Paths
| Differential D81067
Fix dynamic probing scheme ClosedPublic Authored by serge-sans-paille on Jun 3 2020, 1:50 AM.
Details
Summary If we probe *after* each static stack allocation, we need to probe *before* each Thanks a lot to @jonpa for motivating this fix.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 10 2020, 10:18 AM Closed by commit rG60fe25cb0c73: Fix dynamic probing scheme (authored by serge-sans-paille). · Explain WhyJun 10 2020, 12:49 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 269952 llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
|