diff options
author | Eric Christopher <echristo@apple.com> | 2011-06-17 00:40:18 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-06-17 00:40:18 +0000 |
commit | 283f44752a66e6748de955cd82c37de5faf56f7b (patch) | |
tree | f389a5a90ec6a4cce743ddcdb25cb92830e819aa /lib/Basic/Targets.cpp | |
parent | b77115d7b988f55f961e24129a62f20dfd066a94 (diff) |
On ARM make sure that we continue translating 'p' to 'r' for the
constraints.
rdar://9618597
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 21be92976a..b6715bbea1 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -2069,6 +2069,9 @@ public: R = std::string("^") + std::string(Constraint, 2); Constraint++; break; + case 'p': // 'p' should be translated to 'r' by default. + R = std::string("r"); + break; default: return std::string(1, *Constraint); } |