Before we go here, I think we should seriously ask whether we want to undo that restriction on shift left. I can see arguments both for and against it. Does GCC already do this optimization? http://reviews.llvm.org/D8899 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/