nikic wrote: The last commit looks fine to me, I didn't look at the rest in detail assuming it was already reviewed. One thing I'm curious about is why this is implemented as a function attribute rather than as a calling convention. https://github.com/llvm/llvm-project/pull/105417