[all-commits] [llvm/llvm-project] 23d9ca: [CodeGen] Remove EvictionTrack (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Jun 13 07:21:50 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23d9ca10ae8a182e8f78814a152066645e0f67f3
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

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

  Log Message:
  [CodeGen] Remove EvictionTrack (NFC)

The last of getEvictor use was removed on Jun 5, 2022 in commit
5c06f7168fd1bd589b831cacd5f1cb8a928446fb, which was itself a patch to
remove unused code.

Once we remove getEvictor, EvictionTrack becomes a write-only data
structure.  The data in it won't affect compilation, so the entire
class is essentially dead.

More information about the All-commits mailing list