[all-commits] [llvm/llvm-project] 15fbe0: CFGPrinter: fix accidentally quadratic behavior (#...

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Wed Feb 5 23:38:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15fbe08f7c01763332f40f2018fcd70ecbf80e91
      https://github.com/llvm/llvm-project/commit/15fbe08f7c01763332f40f2018fcd70ecbf80e91
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/CFGPrinter.h
    M llvm/lib/Analysis/CFGPrinter.cpp

  Log Message:
  -----------
  CFGPrinter: fix accidentally quadratic behavior (#125396)

Initialize a ModuleStateTracker at most once per BasicBlock instead of
once per Instruction. When the CFG info is provided, it is initialized
once per function.



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