[all-commits] [llvm/llvm-project] c2f988: [SPARC] Support reserving arbitrary general purpos...

Koakuma via All-commits all-commits at lists.llvm.org
Sat Feb 10 23:04:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2f9885a8aa3a820eefdacccf3fcc6b9d87e3284
      https://github.com/llvm/llvm-project/commit/c2f9885a8aa3a820eefdacccf3fcc6b9d87e3284
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Arch/Sparc.cpp
    A clang/test/Driver/sparc-fixed-register.c
    M llvm/lib/Target/Sparc/Sparc.td
    M llvm/lib/Target/Sparc/SparcISelLowering.cpp
    M llvm/lib/Target/Sparc/SparcRegisterInfo.cpp
    M llvm/lib/Target/Sparc/SparcRegisterInfo.h
    M llvm/lib/Target/Sparc/SparcRegisterInfo.td
    M llvm/lib/Target/Sparc/SparcSubtarget.cpp
    M llvm/lib/Target/Sparc/SparcSubtarget.h
    A llvm/test/CodeGen/SPARC/reserved-arg-regs.ll
    A llvm/test/CodeGen/SPARC/reserved-regs-named.ll
    A llvm/test/CodeGen/SPARC/reserved-regs-unavailable.ll
    M llvm/test/CodeGen/SPARC/reserved-regs.ll

  Log Message:
  -----------
  [SPARC] Support reserving arbitrary general purpose registers (#74927)

This adds support for marking arbitrary general purpose registers -
except for those with special purpose (G0, I6-I7, O6-O7) - as reserved,
as needed by some software like the Linux kernel.




More information about the All-commits mailing list