forked from OSchip/llvm-project
We'll return a null RC by default if we can't match.
Part of rdar://9119939 llvm-svn: 134217
This commit is contained in:
parent
4b522de5c0
commit
f09b0f1043
|
@ -7544,8 +7544,7 @@ ARMTargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint,
|
|||
case 'h': // High regs or no regs.
|
||||
if (Subtarget->isThumb())
|
||||
return RCPair(0U, ARM::hGPRRegisterClass);
|
||||
else
|
||||
return RCPair(0U, static_cast<const TargetRegisterClass*>(0));
|
||||
break;
|
||||
case 'r':
|
||||
return RCPair(0U, ARM::GPRRegisterClass);
|
||||
case 'w':
|
||||
|
|
Loading…
Reference in New Issue