[all-commits] [llvm/llvm-project] 92d367: [MachineOutliner] Improve mapper statistics

Jessica Paquette via All-commits all-commits at lists.llvm.org
Fri Feb 3 22:27:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92d3672452db260f431b9219faf57c5f8c7b876b
      https://github.com/llvm/llvm-project/commit/92d3672452db260f431b9219faf57c5f8c7b876b
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M llvm/lib/CodeGen/MachineOutliner.cpp
    A llvm/test/CodeGen/AArch64/machine-outliner-mapper-stats.mir

  Log Message:
  -----------
  [MachineOutliner] Improve mapper statistics

Add a test for statistics as well.

The mapper size stats were nested in a loop unnecessarily. Move them out.

Give existing stats better names, and add one which also tracks the number of
sentinels added.




More information about the All-commits mailing list