rafael accepted this revision. rafael added a comment. This revision is now accepted and ready to land. LGTM, but can you add a unit test showing that we now produce the correct answer for ARM? http://reviews.llvm.org/D21846