[all-commits] [llvm/llvm-project] 7e6c75: [NFC][Coroutines] Build DominatorTree only once be...

yurai007 via All-commits all-commits at lists.llvm.org
Thu Jan 5 01:32:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e6c7562cbfc94368c4af51976649db907ebf0d1
      https://github.com/llvm/llvm-project/commit/7e6c7562cbfc94368c4af51976649db907ebf0d1
  Author: Dawid Jurczak <dawid_jurek at vp.pl>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp

  Log Message:
  -----------
  [NFC][Coroutines] Build DominatorTree only once before collecting frame allocas (PR58650)

Assuming that collecting frame allocas doesn't modify CFG we can safely
move DominatorTree construction outside loop and avoid expensive computations.

Differential Revision: https://reviews.llvm.org/D140818




More information about the All-commits mailing list