Corrected a bug in SparcRegInfo.cpp - to add inserted instructions before a return
llvm-svn: 969
diff --git a/llvm/lib/Target/Sparc/SparcRegClassInfo.h b/llvm/lib/Target/Sparc/SparcRegClassInfo.h
index 311d035..4f91268 100644
--- a/llvm/lib/Target/Sparc/SparcRegClassInfo.h
+++ b/llvm/lib/Target/Sparc/SparcRegClassInfo.h
@@ -66,7 +66,7 @@
};
// max # of colors reg coloring can allocate
- static unsigned int const NumOfAvailRegs = g0;
+ static unsigned int const NumOfAvailRegs = i6;
static unsigned int const StartOfNonVolatileRegs = l0;
static unsigned int const StartOfAllRegs = o0;