zaks.anna accepted this revision. zaks.anna added a comment. This revision is now accepted and ready to land. LGTM. Please, measure that this does not regress memory consumption just to be sure. Thanks! Anna. http://reviews.llvm.org/D21229