[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Apr 20 15:14:03 PDT 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9RegInfo.cpp updated: 1.123 -> 1.124
---
Log message:
Make it legal to ask for the type of a specialreg
---
Diffs of the changes: (+2 -0)
Index: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.123 llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.124
--- llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.123 Mon Apr 19 14:12:12 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp Tue Apr 20 15:12:57 2004
@@ -260,6 +260,8 @@
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;
More information about the llvm-commits
mailing list