From: Eric Christopher Date: Fri, 17 Jun 2011 00:40:18 +0000 (+0000) Subject: On ARM make sure that we continue translating 'p' to 'r' for the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=283f44752a66e6748de955cd82c37de5faf56f7b;p=clang 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 --- 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); }