mzolotukhin accepted this revision. mzolotukhin added a comment. This revision is now accepted and ready to land. Looks good to me. Out of curiosity, does the patch improve compile time on usual tests (rather than on corner cases)? Michael https://reviews.llvm.org/D35827