zturner added a reviewer: Bigcheese. zturner added a comment. https://reviews.llvm.org/D649 is the code review for the original implementation of this. +Bigcheese since he seems to have authored the original implementation. https://reviews.llvm.org/D32826