mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Make sure we use the correct register class here since we'll need to
care about spill values. llvm-svn: 134122
This commit is contained in:
parent
7ce905754f
commit
00fc9403e1
@ -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…
Reference in New Issue
Block a user