[cfe-commits] r133222 - /cfe/trunk/lib/Basic/Targets.cpp
Eric Christopher
echristo at apple.com
Thu Jun 16 17:40:18 PDT 2011
Author: echristo
Date: Thu Jun 16 19:40:18 2011
New Revision: 133222
URL: http://llvm.org/viewvc/llvm-project?rev=133222&view=rev
Log:
On ARM make sure that we continue translating 'p' to 'r' for the
constraints.
rdar://9618597
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=133222&r1=133221&r2=133222&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Jun 16 19:40:18 2011
@@ -2069,6 +2069,9 @@
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);
}
More information about the cfe-commits
mailing list