[all-commits] [llvm/llvm-project] e3ac21: LiveIntervals: Use BumpPtrAllocator

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Feb 24 04:35:42 PST 2025


  Branch: refs/heads/users/arsenm/live-intervals-use-bumpptrallocator
  Home:   https://github.com/llvm/llvm-project
  Commit: e3ac2118700ef3ea4ef19a504d0c514e663fd135
      https://github.com/llvm/llvm-project/commit/e3ac2118700ef3ea4ef19a504d0c514e663fd135
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

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

  Log Message:
  -----------
  LiveIntervals: Use BumpPtrAllocator


  Commit: c15e46a58e8f88157fa42b0b795a6dafc6eae1e6
      https://github.com/llvm/llvm-project/commit/c15e46a58e8f88157fa42b0b795a6dafc6eae1e6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

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

  Log Message:
  -----------
  Use SpecificBumpPtrAllocator for LiveInterval

I didn't realize we used a singly linked list for storing subranges,
but that seems bad.

I didn't realize we used a singly linked list for storing subranges.
That seems bad and we should probably switch this to an array


Compare: https://github.com/llvm/llvm-project/compare/fd430c4942a1...c15e46a58e8f

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