kparzysz accepted this revision. kparzysz added a reviewer: kparzysz. kparzysz added a comment. Seems like all significant issues have been addressed. The remaining ones can be fixed in subsequent commits. http://reviews.llvm.org/D16829