[PATCH] D125420: [AArch64] Add support for -fzero-call-used-regs

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 11 14:06:53 PDT 2022


void created this revision.
void added reviewers: nickdesaulniers, nhaehnle, thakis, jankratochvil.
Herald added subscribers: pengfei, hiraditya, kristof.beyls.
Herald added a project: All.
void requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, MaskRay.
Herald added projects: clang, LLVM.

Support the "-fzero-call-used-regs" option on AArch64. This involves much less
specialized code than the X86 version. Most of the checks can be done with
TableGen.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125420

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
  llvm/lib/Target/AArch64/AArch64FrameLowering.h
  llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.h
  llvm/lib/Target/AArch64/AArch64RegisterInfo.td
  llvm/test/CodeGen/AArch64/zero-call-used-regs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125420.428776.patch
Type: text/x-patch
Size: 33076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220511/75482cb4/attachment-0001.bin>


More information about the cfe-commits mailing list