[all-commits] [llvm/llvm-project] 88043c: [TableGen] Add generation of argument register lists

Bill Wendling via All-commits all-commits at lists.llvm.org
Thu May 19 15:18:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88043c1958cb18f970095fa08b34a80c774cc2a9
      https://github.com/llvm/llvm-project/commit/88043c1958cb18f970095fa08b34a80c774cc2a9
  Author: Bill Wendling <isanbard at gmail.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M llvm/utils/TableGen/CallingConvEmitter.cpp

  Log Message:
  -----------
  [TableGen] Add generation of argument register lists

There are cases, like with -fzero-call-used-regs,  where we need to know
which registers can be used by a certain calling convention. This change
generates a list of registers used by each calling convention defined in
*CallingConv.td.

Calling conventions that use registers conditioned on Swift have those
registers placed in a separate list. This allows us to be flexible about
whether to use the Swift registers or not.

Reviewed By: nickdesaulniers

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




More information about the All-commits mailing list