mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Make it legal to ask for the type of a specialreg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13078 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
21a710a52e
commit
3f083d5de6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user