EricWF added a comment. In https://reviews.llvm.org/D27396#613194, @v.g.vassilev wrote: > Can we use extern module in that case. It seems that it could help reducing the duplication: IDK, I'll give it a shot! Thanks for the advice. https://reviews.llvm.org/D27396