[all-commits] [llvm/llvm-project] e77015: [AArch64] Add support for -ffixed-x30

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Tue Apr 28 08:49:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e770153865c53c4fd72a68f23acff33c24e42a08
      https://github.com/llvm/llvm-project/commit/e770153865c53c4fd72a68f23acff33c24e42a08
  Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    M clang/test/Driver/aarch64-fixed-x-register.c
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/test/CodeGen/AArch64/arm64-platform-reg.ll

  Log Message:
  -----------
  [AArch64] Add support for -ffixed-x30

Add support for reserving LR in:

* the driver through `-ffixed-x30`
* cc1 through `-target-feature +reserve-x30`
* the backend through `-mattr=+reserve-x30`
* a subtarget feature `reserve-x30`

the same way we're doing for the other registers.




More information about the All-commits mailing list