[PATCH] D61892: [AArch64] Treat x18 as callee-saved in functions with windows calling convention on non-windows OSes

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 13:41:22 PDT 2020


mstorsjo updated this revision to Diff 267357.
mstorsjo added a comment.

Added a testcase with `-mattr=+reserve-x18`, in addition to the previous one without it.


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

https://reviews.llvm.org/D61892

Files:
  llvm/lib/Target/AArch64/AArch64CallingConvention.td
  llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
  llvm/test/CodeGen/AArch64/win64cc-backup-x18.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61892.267357.patch
Type: text/x-patch
Size: 4787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200529/0eea99e6/attachment.bin>


More information about the llvm-commits mailing list