[all-commits] [llvm/llvm-project] dbf9b9: [AArch64][SME] Disable tail-call optimization for ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon Sep 4 07:11:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbf9b93f25d60cdad11aa624d6b58f6ee6c5075f
      https://github.com/llvm/llvm-project/commit/dbf9b93f25d60cdad11aa624d6b58f6ee6c5075f
  Author: sdesmalen-arm <sander.desmalen at arm.com>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sme-streaming-body.ll

  Log Message:
  -----------
  [AArch64][SME] Disable tail-call optimization for __arm_locally_streaming functions. (#65258)

When calling a function which requires no streaming-mode change from an
__arm_locally_streaming function, LLVM would otherwise emit:

  // function prologue
  smstart
  b streaming_compatible_function   // tail call
  // never an smstop




More information about the All-commits mailing list