[PATCH] D84869: [AArch64][SVE] Disable tail calls if callee does not preserve SVE regs.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 01:40:17 PDT 2020


sdesmalen updated this revision to Diff 281828.
sdesmalen added a comment.

Updated `CallerCC` to `AArch64_SVE_VectorCall` if the caller has an SVE signature.
The code that follows further on will automatically determine whether TCO can be usedby looking at the callee-saved regs preserved by the callee and caller (condition `if (!CCMatch) {` on line 4243)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84869/new/

https://reviews.llvm.org/D84869

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.h
  llvm/test/CodeGen/AArch64/sve-tailcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84869.281828.patch
Type: text/x-patch
Size: 11027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200730/54903952/attachment.bin>


More information about the llvm-commits mailing list