[all-commits] [llvm/llvm-project] e620be: [M68k] Allow user to preserve certain registers

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Thu May 20 13:58:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e620bea21199791513f3193a71b819b20a707ab1
      https://github.com/llvm/llvm-project/commit/e620bea21199791513f3193a71b819b20a707ab1
  Author: Min-Yih Hsu <minyihh at uci.edu>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Arch/M68k.cpp
    A clang/test/Driver/m68k-fixed-register.c
    M llvm/lib/Target/M68k/M68k.td
    M llvm/lib/Target/M68k/M68kRegisterInfo.cpp
    M llvm/lib/Target/M68k/M68kSubtarget.cpp
    M llvm/lib/Target/M68k/M68kSubtarget.h
    A llvm/test/CodeGen/M68k/reserved-regs.ll

  Log Message:
  -----------
  [M68k] Allow user to preserve certain registers

Add `-ffixed-a[0-6]` and `-ffixed-d[0-7]` and the corresponding
subtarget features to prevent certain register from being allocated.

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




More information about the All-commits mailing list