Hi Jingyue, The code change itself looks quite straightforward and sensible to me! I will help to measure the performance impact of your patch later on. Thanks, -Jiangning http://reviews.llvm.org/D4814