ruiu added a comment. It's interesting that this patch does not have any performance improvement (or even very slightly negative.) If that's the case, we don't need this patch now. http://reviews.llvm.org/D13875