Hi Ahmed, This looks fine to me. I'd prefer a testcase that shows this optimization triggering, but perhaps that is not possible. Cheers, James http://reviews.llvm.org/D7423 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/