[PATCH] D11002: CodeGenPrepare: add disablebranchopts and addrsinkusinggeps as pass options

Matt Arsenault Matthew.Arsenault at amd.com
Tue Jul 7 10:57:13 PDT 2015


arsenm added a subscriber: arsenm.

What does this option get you over the TLI hooks that disable the same transforms?

  if (!DisableBranchOpts) {
    EverMadeChange |= sinkAndCmp(F);
    EverMadeChange |= splitBranchCondition(F);
  }

Both of these check TLI hooks already, e.g. splitBranchConditon does nothing if TLI->isJumpExpensive()


Repository:
  rL LLVM

http://reviews.llvm.org/D11002







More information about the llvm-commits mailing list