[all-commits] [llvm/llvm-project] 60fe25: Fix dynamic probing scheme

serge-sans-paille via All-commits all-commits at lists.llvm.org
Wed Jun 10 12:38:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60fe25cb0c73f1ad2d973539512859d37154fe35
      https://github.com/llvm/llvm-project/commit/60fe25cb0c73f1ad2d973539512859d37154fe35
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll

  Log Message:
  -----------
  Fix dynamic probing scheme

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.

Differential Revision: https://reviews.llvm.org/D81067




More information about the All-commits mailing list