[all-commits] [llvm/llvm-project] bd7949: reland e5581df60a35 [SimplifyCFG] accumulate bonus...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon Oct 24 12:44:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd7949bcd86633bd4203b2ba6f891aea00fce4d1
      https://github.com/llvm/llvm-project/commit/bd7949bcd86633bd4203b2ba6f891aea00fce4d1
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
    M llvm/lib/Transforms/Utils/LoopSimplify.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/LoopUnroll/peel-loop-inner.ll
    M llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll
    M llvm/test/Transforms/SimplifyCFG/branch-fold-multiple.ll
    M llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
    M llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest-two-preds-cost.ll

  Log Message:
  -----------
  reland e5581df60a35 [SimplifyCFG] accumulate bonus insts cost

Fixed compile time increase due to always constructing LocalCostTracker.
Now only construct LocalCostTracker when needed.




More information about the All-commits mailing list