[all-commits] [llvm/llvm-project] b3306c: [DFAJumpThreading] Prevent pass from using too muc...

Bushev Dmitry via All-commits all-commits at lists.llvm.org
Wed Sep 10 03:42:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3306cbb53390444cfbf45cee30e15b1760e526e
      https://github.com/llvm/llvm-project/commit/b3306cbb53390444cfbf45cee30e15b1760e526e
  Author: Bushev Dmitry <dmitry.bushev at syntacore.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp

  Log Message:
  -----------
  [DFAJumpThreading] Prevent pass from using too much memory. (#153193)

The limit 'dfa-max-num-paths' that is used to control number of
enumerated paths was not checked against inside getPathsFromStateDefMap.
It may lead to large memory consumption for complex enough switch
statements.

Reland llvm/llvm-project#145482



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