It's possible the disablebranchopts is no longer necessary; it's 3 years old in our tree so it's quite possible it's been made obsolete by target hooks in the meantime. I don't think there's a target hook for the GEP splitting though. Repository: rL LLVM http://reviews.llvm.org/D11002