[all-commits] [llvm/llvm-project] e0cfd4: [CGP] Lazily compute domtree only when needed duri...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Mar 4 09:33:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0cfd451718e2524cc5b8f98ecd72a75d37146cc
      https://github.com/llvm/llvm-project/commit/e0cfd451718e2524cc5b8f98ecd72a75d37146cc
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp

  Log Message:
  -----------
  [CGP] Lazily compute domtree only when needed during address matching

This is a compile time optimization for d9e93e8e5.  As pointed out in post dommit review on the original review (D96399), there was a moderately large compile time regression with this patch and the eager computation of domtree on matcher construction is the first obvious candidate for why.




More information about the All-commits mailing list