[all-commits] [llvm/llvm-project] a5f237: [MCA] Optimize memory consumption in resource pres...

Anton Sidorenko via All-commits all-commits at lists.llvm.org
Fri Jan 31 02:26:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5f237f3ece6e85da6346b4b420878528d6f894d
      https://github.com/llvm/llvm-project/commit/a5f237f3ece6e85da6346b4b420878528d6f894d
  Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M llvm/tools/llvm-mca/Views/ResourcePressureView.cpp
    M llvm/tools/llvm-mca/Views/ResourcePressureView.h

  Log Message:
  -----------
  [MCA] Optimize memory consumption in resource pressure view (NFC) (#124904)

ResourceUsage is a very sparse table. On large input asm sequences it
consumes a lot of memory utilizing only a few percents of it (~4% on my
benchmark). Reorganization of ResourceUsage to keep only used fields
allows saving up to 18% of total memory use by mca or ~850% of input
file size (~1.1GB in absolute values in my case).



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