[all-commits] [llvm/llvm-project] 99e865: [TargetRegisterInfo] Add a couple of target hooks ...

qcolombet via All-commits all-commits at lists.llvm.org
Thu Sep 17 15:25:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 99e865b618f31c69776273a60addbd88917a29d9
      https://github.com/llvm/llvm-project/commit/99e865b618f31c69776273a60addbd88917a29d9
  Author: Quentin Colombet <qcolombet at apple.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

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

  Log Message:
  -----------
  [TargetRegisterInfo] Add a couple of target hooks for the greedy register allocator

Before this patch, the last chance recoloring and deferred spilling
techniques were solely controled by command line options.
This patch adds target hooks for these two techniques so that it
is easier for backend writers to override the default behavior.

The default behavior of the hooks preserves the default values of
the related command line options.

NFC




More information about the All-commits mailing list