diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-03-29 19:53:34 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-03-29 19:53:34 +0000 |
commit | 6903313102c4e1ca598305850cc209b62711b1b6 (patch) | |
tree | 4a9472e15814a2f89efcad0066396c00540ebb45 /lib/Driver/Tools.cpp | |
parent | 868e985d4e2845cf19517dac932dfd013a8494b9 (diff) |
ARM backend knows about cortex-m4. The front end should too.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index ff034d685d..f3faeecb47 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -484,6 +484,7 @@ static const char *getLLVMArchSuffixForARM(StringRef CPU) { .Cases("arm1156t2-s", "arm1156t2f-s", "v6t2") .Cases("cortex-a8", "cortex-a9", "v7") .Case("cortex-m3", "v7m") + .Case("cortex-m4", "v7m") .Case("cortex-m0", "v6m") .Default(""); } |