[all-commits] [llvm/llvm-project] cf61b6: [BranchProbabilityInfo][NFC] Remove some global ct...

Alexis Engelke via All-commits all-commits at lists.llvm.org
Wed Jul 8 10:01:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf61b62424f6c2b679106b3687f08af5b18a99f7
      https://github.com/llvm/llvm-project/commit/cf61b62424f6c2b679106b3687f08af5b18a99f7
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/BranchProbabilityInfo.h
    M llvm/include/llvm/Support/BranchProbability.h
    M llvm/lib/Analysis/BranchProbabilityInfo.cpp
    M llvm/lib/Support/BranchProbability.cpp

  Log Message:
  -----------
  [BranchProbabilityInfo][NFC] Remove some global ctors (#208252)

Make BranchProbability constexpr and replace global std::map with
switches.



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