[clang-cl] Enable -march option
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 10 Sep 2018 17:54:32 +0000 (17:54 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 10 Sep 2018 17:54:32 +0000 (17:54 +0000)
commitf8acd723e83ed681ac46235eb6bed9d6d429bdd4
treed7bff5f5a6a4fae57aad786a29a6b9cb14591d55
parentdb62913f2850f93dfcd1434af031ec315a99e4b9
[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
clang/include/clang/Driver/Options.td
clang/test/Driver/cl-options.c