[PATCH] D84869: [AArch64][SVE] Disable tail calls if callee does not preserve SVE regs.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 29 10:29:33 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:4162
+ CallerCC == CallingConv::AArch64_SVE_VectorCall) &&
+ CalleeCC != CallingConv::AArch64_SVE_VectorCall)
+ return false;
----------------
I think it would be more clear to rewrite CallerCC the same way CalleeCC is rewritten, rather than write out the comparison like this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84869/new/
https://reviews.llvm.org/D84869
More information about the llvm-commits
mailing list