MatzeB accepted this revision. MatzeB added a comment. This revision is now accepted and ready to land. The change itself looks fine, so go ahead and commit after cleaning and/or documenting the code some more. Repository: rL LLVM https://reviews.llvm.org/D30951