[cfe-commits] r122965 - /cfe/trunk/lib/Basic/Targets.cpp
Bob Wilson
bob.wilson at apple.com
Thu Jan 6 08:57:20 PST 2011
Author: bwilson
Date: Thu Jan 6 10:57:20 2011
New Revision: 122965
URL: http://llvm.org/viewvc/llvm-project?rev=122965&view=rev
Log:
Add cortex-m3 CPU to getCPUDefineSuffix mapping.
Patch by Sylvère Teissier.
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=122965&r1=122964&r2=122965&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Jan 6 10:57:20 2011
@@ -1811,6 +1811,7 @@
.Cases("arm1136jf-s", "mpcorenovfp", "mpcore", "6K")
.Cases("arm1156t2-s", "arm1156t2f-s", "6T2")
.Cases("cortex-a8", "cortex-a9", "7A")
+ .Case("cortex-m3", "7M")
.Default(0);
}
virtual bool setCPU(const std::string &Name) {
More information about the cfe-commits
mailing list