thebolt marked 5 inline comments as done. thebolt added a comment. I've updated the diff based on the comments, also regenerated the diff with more context as per the instructions on llvm site. https://reviews.llvm.org/D41348