[all-commits] [llvm/llvm-project] 302e91: [llvm][NFC] Add comments and common-case API to Ma...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Jul 23 08:43:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 302e91baf4fa041d2187e153e59bbe8c7ff5b673
      https://github.com/llvm/llvm-project/commit/302e91baf4fa041d2187e153e59bbe8c7ff5b673
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

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

  Log Message:
  -----------
  [llvm][NFC] Add comments and common-case API to MachineBlockFrequencyInfo

Clarify the relation between a block's BlockFrequency and the
getEntryFreq() API, and added an API for the relatively common case of
finding a block's frequency relative to the entrypoint.

Added / moved some comments to header.

Differential Revision: https://reviews.llvm.org/D84357




More information about the All-commits mailing list