Hi Karthik, This patch is very similar to http://reviews.llvm.org/D6675. Do you think it's possible to reuse a reordering code from one patch in another? REPOSITORY rL LLVM http://reviews.llvm.org/D6677 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/