mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-10 12:32:21 +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':
|
case 'r':
|
||||||
return std::make_pair(0U, Alpha::GPRCRegisterClass);
|
return std::make_pair(0U, Alpha::GPRCRegisterClass);
|
||||||
case 'f':
|
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);
|
return TargetLowering::getRegForInlineAsmConstraint(Constraint, VT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user