[all-commits] [llvm/llvm-project] 501417: [RISC-V][LoongArch] Revert Musttail Fixes (#191508)
Sam Elliott via All-commits
all-commits at lists.llvm.org
Fri Apr 10 13:37:16 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 501417baa60f2eb0a66ca3bb04caf70150ebc2f7
https://github.com/llvm/llvm-project/commit/501417baa60f2eb0a66ca3bb04caf70150ebc2f7
Author: Sam Elliott <aelliott at qti.qualcomm.com>
Date: 2026-04-10 (Fri, 10 Apr 2026)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchMachineFunctionInfo.h
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
R llvm/test/CodeGen/LoongArch/issue187832.ll
R llvm/test/CodeGen/LoongArch/musttail.ll
M llvm/test/CodeGen/LoongArch/tail-calls.ll
M llvm/test/CodeGen/RISCV/musttail-call.ll
R llvm/test/CodeGen/RISCV/musttail.ll
R llvm/test/CodeGen/RISCV/pr187832.ll
M llvm/test/CodeGen/RISCV/tail-calls.ll
Log Message:
-----------
[RISC-V][LoongArch] Revert Musttail Fixes (#191508)
This reverts:
- 2b839f66ae0191039fb82049ec515bcbd726f612 (#168506)
- 6a81656f7d729615c296e5da774e78ad5b21a558 (#170547)
- ab17b5408ac83a03807b6f0ea22f51dfb84b0b8a (#188006)
- e65dd1f8a0c8cfd2255f336e5096232f587ed397 (#191093)
The changes in #168506 and #170547 both have a lifetime issue where an
SDValue is kept for the duration of a function, despite being valid only
when processing the same basic block.
Reverting both on LoongArch and RISC-V as the implementations are
identical and one of the fix commits touches both targets, rather than
doing only a RISC-V revert. I also think this more cleanly shows what is
being undone when starting again with the changes.
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