aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-05-08 23:41:39 +0000
committerTanya Lattner <tonic@nondot.org>2007-05-08 23:41:39 +0000
commit18d941047a29fd5acf2751913e20dab9177043e3 (patch)
treebfe50921e50ab6f285027c310e7f97b3d677550e
parentfdbf1c01f46a9dcffcea3c78bb60420bffc7c8f5 (diff)
Merging from mainline. PR1399 fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_20@36949 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.td b/lib/Target/PowerPC/PPCRegisterInfo.td
index 3891755247..0b3b4cabde 100644
--- a/lib/Target/PowerPC/PPCRegisterInfo.td
+++ b/lib/Target/PowerPC/PPCRegisterInfo.td
@@ -22,9 +22,9 @@ class GPR<bits<5> num, string n> : PPCReg<n> {
}
// GP8 - One of the 32 64-bit general-purpose registers
-class GP8<GPR Alias> : PPCReg<Alias.Name> {
- field bits<5> Num = Alias.Num;
- let Aliases = [Alias];
+class GP8<GPR SubReg> : PPCReg<SubReg.Name> {
+ field bits<5> Num = SubReg.Num;
+ let SubRegs = [SubReg];
}
// SPR - One of the 32-bit special-purpose registers