[all-commits] [llvm/llvm-project] c41610: [NFC][regalloc] Introduce RegAllocGreedy.h

Mircea Trofin via All-commits all-commits at lists.llvm.org
Tue Jan 4 08:05:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c41610778bc7e0f57239264381c64b8503b21e75
      https://github.com/llvm/llvm-project/commit/c41610778bc7e0f57239264381c64b8503b21e75
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

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

  Log Message:
  -----------
  [NFC][regalloc] Introduce RegAllocGreedy.h

This was suggested in D114831. It should simplify the relation between
eviction advisor and the allocator, and simplify ingesting more features
tied to the internals of the allocator, in the future.

This change simply pulls out RAGreedy, places it in the llvm namespace,
and cleans up a bit the includes in the new header file.

Differential Revision: https://reviews.llvm.org/D116114




More information about the All-commits mailing list