lebedev.ri added a comment. https://reviews.llvm.org/D45108 will also solve PR17564 <https://bugs.llvm.org/show_bug.cgi?id=17564>, so if this is the wrong approach, it can be closed i suppose. Repository: rL LLVM https://reviews.llvm.org/D45065