summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/print-supported-cpus.c
Commit message (Collapse)AuthorAgeFilesLines
* [Driver] Fix style issues of --print-supported-cpus after D63105Fangrui Song2019-06-291-22/+14
| | | | | | | | Reviewed By: ziangwan Differential Revision: https://reviews.llvm.org/D63822 llvm-svn: 364704
* print-supported-cpus quality of life patch.Ziang Wan2019-06-251-1/+18
| | | | | | | Claim all input files so that clang does not give a warning. Add two short-cut aliases: -mcpu=? and -mtune=?. llvm-svn: 364362
* Fixed the --print-supported-cpus testZiang Wan2019-06-141-0/+2
| | | | | | | | | | | Add constraints for the test that require specific backend targets to be registered. Remove trailing whitespace in the doc. Differential Revision: https://reviews.llvm.org/D63105 llvm-svn: 363475
* Add --print-supported-cpus flag for clang.Ziang Wan2019-06-141-0/+16
This patch allows clang users to print out a list of supported CPU models using clang [--target=<target triple>] --print-supported-cpus Then, users can select the CPU model to compile to using clang --target=<triple> -mcpu=<model> a.c It is a handy feature to help cross compilation. llvm-svn: 363464
OpenPOWER on IntegriCloud