[all-commits] [llvm/llvm-project] 9573c9: Fix limit behavior of dynamic alloca

serge-sans-paille via All-commits all-commits at lists.llvm.org
Fri Oct 2 02:10:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9573c9f2a363da71b2c07a3add4e52721e6028a0
      https://github.com/llvm/llvm-project/commit/9573c9f2a363da71b2c07a3add4e52721e6028a0
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

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

  Log Message:
  -----------
  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




More information about the All-commits mailing list