[llvm] x86: fix musttail sibcall miscompilation (PR #168956)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 15:46:36 PST 2025


================

----------------
efriedma-quic wrote:

On other targets, if IsEligibleForTailCallOptimization concludes a musttail call can't actually be tail-called, we emit an error.  Probably x86 should do this too, so weird edges break loudly instead of miscompiling.

https://github.com/llvm/llvm-project/pull/168956


More information about the llvm-commits mailing list