[llvm] [win/arm64] Enable tail call with inreg arguments when possible (PR #134671)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 01:16:37 PDT 2025


mstorsjo wrote:

> > wouldn't this be reproducible with two plain global functions as well?
> 
> Yes, but we have to tweak the return type a little to get the `inreg` attribute:
> 
> https://github.com/llvm/llvm-project/blob/2c1bdd4a0811af89eb9631935fbd90f13a04eacb/clang/lib/CodeGen/MicrosoftCXXABI.cpp#L1185-L1187

Oh, tricky! Sorry for the distraction here, then. :-) 

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


More information about the llvm-commits mailing list