diff options
-rw-r--r-- | lib/Target/SparcV9/SparcV9RegInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp index 0f59848..1c53703 100644 --- a/lib/Target/SparcV9/SparcV9RegInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp @@ -260,6 +260,8 @@ int SparcV9RegInfo::getRegType(int unifiedRegNum) const return FloatCCRegType; else if (unifiedRegNum < (64+32+4+2)) return IntCCRegType; + else if (unifiedRegNum < (64+32+4+2+1)) + return SpecialRegType; else assert(0 && "Invalid unified register number in getRegType"); return 0; |