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:
parent
3f688c3692
commit
ac5881b842
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user