diff options
author | Tim Northover <tnorthover@apple.com> | 2019-04-23 13:50:13 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-04-23 13:50:13 +0000 |
commit | 6af366be8ad3199f715c54e84c779e02bb8c18b8 (patch) | |
tree | cac009ac0d69d139c87e571135751e2ded6aeb92 /llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp | |
parent | a6be919c9298c3a62e415bd9fac1ad32229be526 (diff) | |
download | llvm-6af366be8ad3199f715c54e84c779e02bb8c18b8.zip llvm-6af366be8ad3199f715c54e84c779e02bb8c18b8.tar.gz llvm-6af366be8ad3199f715c54e84c779e02bb8c18b8.tar.bz2 |
ARM: disallow add/sub to sp unless Rn is also sp.
The manual says that Thumb2 add/sub instructions are only allowed to modify sp
if the first source is also sp. This is slightly different from the usual rGPR
restriction since it's context-sensitive, so implement it in C++.
llvm-svn: 358987
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp')
0 files changed, 0 insertions, 0 deletions