dblaikie accepted this revision. dblaikie added a comment. This revision is now accepted and ready to land. Looks reasonable to me. (others can speak up if they want to hold off on committing this until they've had a chance to look) https://reviews.llvm.org/D32693