[all-commits] [llvm/llvm-project] fa5632: [22.x][LoongArch] Revert musttail/byval/sret Changes

Sam Elliott via All-commits all-commits at lists.llvm.org
Fri Apr 17 02:45:40 PDT 2026


  Branch: refs/heads/release/22.x
  Home:   https://github.com/llvm/llvm-project
  Commit: fa56327584fe6745b3dc7dce169877c7f3612c5d
      https://github.com/llvm/llvm-project/commit/fa56327584fe6745b3dc7dce169877c7f3612c5d
  Author: Sam Elliott <aelliott at qti.qualcomm.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchMachineFunctionInfo.h
    R llvm/test/CodeGen/LoongArch/issue187832.ll
    R llvm/test/CodeGen/LoongArch/musttail.ll
    M llvm/test/CodeGen/LoongArch/tail-calls.ll

  Log Message:
  -----------
  [22.x][LoongArch] Revert musttail/byval/sret Changes

This reverts:
- 2b839f66ae0191039fb82049ec515bcbd726f612 (#168506)
- d40e607590770118f1d480fd02716fce505b3696 (#188006)

There's a lifetime issue in the implementation, where an SDValue is
saved and may be used outside the current basic block.

The corresponding revert on `main` is
501417baa60f2eb0a66ca3bb04caf70150ebc2f7 (#191508) - in this case only
the LoongArch changes made it to the 22.x branches, so this commit only
affects that architecture.



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