[llvm-commits] [llvm] r121825 - /llvm/trunk/tools/llvmc/src/Hooks.cpp
Mikhail Glushenkov
foldr at codedgers.com
Tue Dec 14 17:22:15 PST 2010
Author: foldr
Date: Tue Dec 14 19:22:15 2010
New Revision: 121825
URL: http://llvm.org/viewvc/llvm-project?rev=121825&view=rev
Log:
llvmc: more complete -march table for ARM.
Modified:
llvm/trunk/tools/llvmc/src/Hooks.cpp
Modified: llvm/trunk/tools/llvmc/src/Hooks.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc/src/Hooks.cpp?rev=121825&r1=121824&r2=121825&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc/src/Hooks.cpp (original)
+++ llvm/trunk/tools/llvmc/src/Hooks.cpp Tue Dec 14 19:22:15 2010
@@ -50,8 +50,10 @@
}
// Values needed to be special-cased by ConvertMArchToMAttr.
-const char* MArchMapKeys[] = { "armv6" };
-const char* MArchMapValues[] = { "v6" };
+const char* MArchMapKeys[] = { "armv4t", "armv5t", "armv5te", "armv6",
+ "armv6-m", "armv6t2", "armv7-a", "armv7-m" };
+const char* MArchMapValues[] = { "v4t", "v5t", "v5te", "v6", "v6m", "v6t2",
+ "v7a", "v7m" };
const unsigned NumMArchMapKeys = sizeof(MArchMapKeys) / sizeof(const char*);
void InitializeMArchMap(ArgMap& Args) {
More information about the llvm-commits
mailing list