mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-09 20:13:35 +00:00
Make sure we use the correct register class here since we'll need to
care about spill values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5d8aa345dd
commit
0a1509e779
@ -835,7 +835,8 @@ getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const
|
||||
case 'r':
|
||||
return std::make_pair(0U, Alpha::GPRCRegisterClass);
|
||||
case 'f':
|
||||
return std::make_pair(0U, Alpha::F4RCRegisterClass);
|
||||
return VT == MVT::f64 ? std::make_pair(0U, Alpha::F8RCRegisterClass) :
|
||||
std::make_pair(0U, Alpha::F4RCRegisterClass);
|
||||
}
|
||||
}
|
||||
return TargetLowering::getRegForInlineAsmConstraint(Constraint, VT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user