[all-commits] [llvm/llvm-project] ee8756: [LLVM] Make `MachineBlockFrequencyInfo`'s construc...

Lucas Ramirez via All-commits all-commits at lists.llvm.org
Fri Jul 18 02:28:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee8756e8551bc9ae5bf60e1ff16abaa95d61c234
      https://github.com/llvm/llvm-project/commit/ee8756e8551bc9ae5bf60e1ff16abaa95d61c234
  Author: Lucas Ramirez <11032120+lucas-rami at users.noreply.github.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
    M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp

  Log Message:
  -----------
  [LLVM] Make `MachineBlockFrequencyInfo`'s constructor arguments const (NFC) (#149279)

This avoids having to call `MachineBlockFrequencyInfo::calculate`
manually if one of the parameters is const.



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