diff options
author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2018-09-10 17:54:32 +0000 |
---|---|---|
committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2018-09-10 17:54:32 +0000 |
commit | f8acd723e83ed681ac46235eb6bed9d6d429bdd4 (patch) | |
tree | d7bff5f5a6a4fae57aad786a29a6b9cb14591d55 /clang/test/Driver/cl-options.c | |
parent | db62913f2850f93dfcd1434af031ec315a99e4b9 (diff) | |
download | bcm5719-llvm-f8acd723e83ed681ac46235eb6bed9d6d429bdd4.tar.gz bcm5719-llvm-f8acd723e83ed681ac46235eb6bed9d6d429bdd4.zip |
[clang-cl] Enable -march option
This change allows usage of -march when using the clang-cl driver. This is similar to MSVC's /arch; however -march can target precisely all supported CPUs, while /arch has a more restricted set.
Differential Revision: https://reviews.llvm.org/D51806
llvm-svn: 341847
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r-- | clang/test/Driver/cl-options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index c251380f98d..851da9f5fbc 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -610,6 +610,7 @@ // RUN: -flto \ // RUN: -fmerge-all-constants \ // RUN: -no-canonical-prefixes \ +// RUN: -march=skylake \ // RUN: --version \ // RUN: -Werror /Zs -- %s 2>&1 |