[all-commits] [llvm/llvm-project] df2578: [GreedyRA ORE] Extract stats in RAGreedyStats stru...

serguei-katkov via All-commits all-commits at lists.llvm.org
Thu Apr 8 00:37:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df2578779778906438d7cb8f84ead414ae9b1a04
      https://github.com/llvm/llvm-project/commit/df2578779778906438d7cb8f84ead414ae9b1a04
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2021-04-08 (Thu, 08 Apr 2021)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocGreedy.cpp

  Log Message:
  -----------
  [GreedyRA ORE] Extract stats in RAGreedyStats struct. NFC.

Combine all collected stats into separate struct RAGreedyStats
with add and report methods.

The motivation is to extend the number of statistics to capture and instead of
adding new parameters, just combine all of them into one structure.
Additionally I plan to use report from different places in future to report data
for function as well.

Reviewers: reames, MatzeB, anemet, thegameg
Reviewed By: thegameg
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D100012




More information about the All-commits mailing list