majnemer accepted this revision. majnemer added a comment. This revision is now accepted and ready to land. LGTM Please be sure to mention [InstCombine] instead of [SROA] in the commit message. http://reviews.llvm.org/D14596