[all-commits] [llvm/llvm-project] 3fa1b6: [TableGen] Add generation of argument register lists
Bill Wendling via All-commits
all-commits at lists.llvm.org
Thu May 19 15:03:34 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3fa1b6557d08a148ef853c2a761f1c43e09fef5e
https://github.com/llvm/llvm-project/commit/3fa1b6557d08a148ef853c2a761f1c43e09fef5e
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