[all-commits] [llvm/llvm-project] 50f828: [SPARC] Support reserving arbitrary general purpos...
Koakuma via All-commits
all-commits at lists.llvm.org
Tue Feb 13 11:43:28 PST 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: 50f8284ceadb56d8bb08d989b4563b9443e45b5f
https://github.com/llvm/llvm-project/commit/50f8284ceadb56d8bb08d989b4563b9443e45b5f
Author: Koakuma <koachan at protonmail.com>
Date: 2024-02-13 (Tue, 13 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.
(cherry picked from commit c2f9885a8aa3a820eefdacccf3fcc6b9d87e3284)
More information about the All-commits
mailing list