anemet accepted this revision. anemet added a comment. This revision is now accepted and ready to land. LGTM. Are you going to commit this as is or fix the new PM -pass-remarks-output first and update this? I am fine either way. https://reviews.llvm.org/D36054