[all-commits] [llvm/llvm-project] 904e8f: [PassManager] Reuse StackTraceEntry across passes ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 2 07:00:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 904e8f936495207cbb36a52fb8ca8183b44d6838
      https://github.com/llvm/llvm-project/commit/904e8f936495207cbb36a52fb8ca8183b44d6838
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/PassManagerImpl.h

  Log Message:
  -----------
  [PassManager] Reuse StackTraceEntry across passes (NFC)

As suggested by aengelke, create the stack frame before the loop
and only update the pass inside it. This reduces the overhead
of repeatedly registering and unregistering the stack frames.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list