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

Radar 7459078.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson 2010-03-15 23:09:18 +00:00
parent 7b9f6b1b21
commit 33cc5cb983

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);
}