[PATCH] D143425: Reland "[X86][ABI] Don't preserve return regs for preserve_all/preserve_most CCs""
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 18:20:02 PST 2023
goldstein.w.n added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:4933
// from the reg mask.
- if (CallConv == CallingConv::X86_RegCall || HasNCSR) {
+ if (shouldDisableArgRegFromCSR(CallConv) ||
+ shouldDisableRetRegFromCSR(CallConv) || HasNCSR) {
----------------
Do you need `shouldDisableRetRegFromCSR` here? It seems `shouldDisableRetRegFromCSR` is a superset.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143425/new/
https://reviews.llvm.org/D143425
More information about the llvm-commits
mailing list