[all-commits] [llvm/llvm-project] 6e00a3: [AArch64] Add support for -fzero-call-used-regs

Bill Wendling via All-commits all-commits at lists.llvm.org
Thu May 19 16:58:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e00a34cdb49ba1d4b72ec274e52260da9c52380
      https://github.com/llvm/llvm-project/commit/6e00a34cdb49ba1d4b72ec274e52260da9c52380
  Author: Bill Wendling <isanbard at gmail.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.h
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.h
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
    M llvm/lib/Target/X86/X86RegisterInfo.cpp
    A llvm/test/CodeGen/AArch64/zero-call-used-regs.ll
    M llvm/utils/TableGen/RegisterInfoEmitter.cpp

  Log Message:
  -----------
  [AArch64] Add support for -fzero-call-used-regs

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.

Reviewed By: nickdesaulniers, MaskRay

Differential Revision: https://reviews.llvm.org/D124836




More information about the All-commits mailing list