Skip to content

Commit

Permalink
Add 64-bit HWR29 register.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146099 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ahatanak committed Dec 7, 2011
1 parent da86fa1 commit be7b673
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Target/Mips/MipsRegisterInfo.td
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ let Namespace = "Mips" in {

// Hardware register $29
def HWR29 : Register<"29">;
def HWR29_64 : Register<"29">;
}

//===----------------------------------------------------------------------===//
Expand Down Expand Up @@ -301,3 +302,4 @@ def HILO64 : RegisterClass<"Mips", [i64], 64, (add HI64, LO64)> {

// Hardware registers
def HWRegs : RegisterClass<"Mips", [i32], 32, (add HWR29)>;
def HWRegs64 : RegisterClass<"Mips", [i64], 32, (add HWR29_64)>;

0 comments on commit be7b673

Please sign in to comment.