eugenis added a comment. In https://reviews.llvm.org/D29104#655649, @majnemer wrote: > This sounds _a lot_ like COMDATs, could you use those? Been there, see the generic-abi ml discussion. Repository: rL LLVM https://reviews.llvm.org/D29104