davidxl added a comment. There is a related patch by Arthur: https://reviews.llvm.org/D143424. Can that patch solve the problem? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143460/new/ https://reviews.llvm.org/D143460