[all-commits] [llvm/llvm-project] 08e5e9: [X86] Remove [ER]SP from all CSR lists
Reid Kleckner via All-commits
all-commits at lists.llvm.org
Wed Jan 6 09:51:06 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 08e5e91e45af96e564f3c19be7ed4cb00bac3034
https://github.com/llvm/llvm-project/commit/08e5e91e45af96e564f3c19be7ed4cb00bac3034
Author: Reid Kleckner <rnk at google.com>
Date: 2021-01-06 (Wed, 06 Jan 2021)
Changed paths:
M llvm/lib/Target/X86/X86CallingConv.td
M llvm/test/CodeGen/X86/avx512-regcall-Mask.ll
M llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
M llvm/test/CodeGen/X86/dynamic-regmask.ll
M llvm/test/CodeGen/X86/ipra-reg-usage.ll
Log Message:
-----------
[X86] Remove [ER]SP from all CSR lists
The CSR lists control which registers are spilled and reloaded in the
prologue and epilogue. The stack pointer is managed explicitly, and
should never be pushed or popped. Remove it from these lists. This
affected regcall and preserves all / most.
Differential Revision: https://reviews.llvm.org/D94118
More information about the All-commits
mailing list