[all-commits] [llvm/llvm-project] 658e47: [AArch64] Fix wrong condition in `canUseAsPrologue...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Mon Feb 19 02:40:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 658e4763a23cc53eaf1b84e804f980f2a8cb8802
      https://github.com/llvm/llvm-project/commit/658e4763a23cc53eaf1b84e804f980f2a8cb8802
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    A llvm/test/CodeGen/AArch64/stack-probing-no-scratch-reg.mir

  Log Message:
  -----------
  [AArch64] Fix wrong condition in `canUseAsPrologue` (#81878)

Inline stack probing code may need a scratch register, hence basic
blocks where such register is not available cannot be used as prologues.

Checking for an available scratch regidster was incorrectly skipped when
the function uses stack probing.



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