hulx2000 added a comment. Forgot to mention. This transformation is useful, it helps one of our benchmark by 7%, and that is the main reason why llvm is behind gcc for this benchmarks. Repository: rL LLVM http://reviews.llvm.org/D11051