1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Translate "cc" clobber in ARM inline assembly to ARM::CCRRegisterClass.

Radar 7459078.

llvm-svn: 98586
This commit is contained in:
Bob Wilson 2010-03-15 23:09:18 +00:00
parent 3f688c3692
commit ac5881b842

View File

@ -4449,6 +4449,9 @@ ARMTargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint,
break;
}
}
if (StringRef("{cc}").equals_lower(Constraint))
return std::make_pair(0U, ARM::CCRRegisterClass);
return TargetLowering::getRegForInlineAsmConstraint(Constraint, VT);
}