[all-commits] [llvm/llvm-project] a88f31: [X86] Fix overflow with large stack probes on x86-...

mconst via All-commits all-commits at lists.llvm.org
Tue Jan 21 23:14:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a88f31d7fe1aa71d2d59974b961e649c288b8dc7
      https://github.com/llvm/llvm-project/commit/a88f31d7fe1aa71d2d59974b961e649c288b8dc7
  Author: mconst <mconst at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    A llvm/test/CodeGen/X86/stack-clash-extra-huge.ll
    A llvm/test/CodeGen/X86/stack-clash-huge.ll

  Log Message:
  -----------
  [X86] Fix overflow with large stack probes on x86-64 (#113219)

When emitting an inline stack probe loop, we can't use SUBri to
calculate the loop bound if it doesn't fit in a 32-bit (possibly
sign-extended) immediate.

Fixes #113218.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list