Not really. But anyway, this could be indeed improved, the minimum would be: "opt -ipsccp -instcombine -jump-threading -globaldce -simplifycfg -inline" http://reviews.llvm.org/D4932