[all-commits] [llvm/llvm-project] 516867: [PseudoProbe] Preserve pseudoprobe for tailcall ps...
Henry Jiang via All-commits
all-commits at lists.llvm.org
Tue Jun 2 08:50:33 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 516867bc96ae3e3a40b296f038d24ee53cf0f5c0
https://github.com/llvm/llvm-project/commit/516867bc96ae3e3a40b296f038d24ee53cf0f5c0
Author: Henry Jiang <henry_jiang2 at apple.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)
Changed paths:
M llvm/lib/CodeGen/PseudoProbeInserter.cpp
A llvm/test/CodeGen/AArch64/aarch64-pseudo-probe-tail-call.ll
A llvm/test/CodeGen/X86/pseudo-probe-tail-call.ll
Log Message:
-----------
[PseudoProbe] Preserve pseudoprobe for tailcall pseudo instrs (#197246)
Preserve probes for tail call pseudo instructions.
On AArch64, X86, and other platforms, the lowering of tail calls
requires a pseudo instruction like `TCRETURNdi`. It is often the case
that `TCRETURNdi` is within its own MBB, and the direct call probe
associated with that tail call is considered dangling and removed. This
patch tries to preserve that.
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