[PATCH] D100012: [GreedyRA ORE] Extract stats in RAGreedyStats struct. NFC.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 21:14:07 PDT 2021


skatkov created this revision.
skatkov added reviewers: reames, MatzeB, anemet.
Herald added subscribers: dantrushin, hiraditya, qcolombet.
skatkov requested review of this revision.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D100012

Files:
  llvm/lib/CodeGen/RegAllocGreedy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100012.335713.patch
Type: text/x-patch
Size: 4774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/f8e6a4ce/attachment.bin>


More information about the llvm-commits mailing list