Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: llvm/lib/Target/Mips/MipsRegisterInfo.cpp

Issue 8273005: [MIPS] Initial support for MIPS architecture. (Closed)
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « llvm/lib/Target/Mips/MipsNaClRewritePass.cpp ('k') | llvm/lib/Target/Mips/MipsSubtarget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: llvm/lib/Target/Mips/MipsRegisterInfo.cpp
===================================================================
--- a/llvm/lib/Target/Mips/MipsRegisterInfo.cpp
+++ b/llvm/lib/Target/Mips/MipsRegisterInfo.cpp
@@ -191,6 +191,10 @@ getReservedRegs(const MachineFunction &M
getReservedRegs(const MachineFunction &MF) const {
static const unsigned ReservedCPURegs[] = {
Mips::ZERO, Mips::AT, Mips::K0, Mips::K1,
+ // @LOCALMOD-START
+ Mips::IndirectBranchMaskReg, // Mips::T3
+ Mips::LoadStoreStackMaskReg, // Mips::T4
+ // @LOCALMOD-END
Mips::GP, Mips::SP, Mips::FP, Mips::RA, 0
};
« no previous file with comments | « llvm/lib/Target/Mips/MipsNaClRewritePass.cpp ('k') | llvm/lib/Target/Mips/MipsSubtarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698