diff options
| author | Ziang Wan <ziangw2@illinois.edu> | 2019-06-14 21:42:21 +0000 |
|---|---|---|
| committer | Ziang Wan <ziangw2@illinois.edu> | 2019-06-14 21:42:21 +0000 |
| commit | af857b93df36a983a27a82455c0dea39f53da5b1 (patch) | |
| tree | 49e18150fe961decbffbd73a7951e2a415250e3a /llvm/lib/Analysis | |
| parent | 5501dda2479580ae84291d0237e794feeb38a8d9 (diff) | |
| download | bcm5719-llvm-af857b93df36a983a27a82455c0dea39f53da5b1.tar.gz bcm5719-llvm-af857b93df36a983a27a82455c0dea39f53da5b1.zip | |
Add --print-supported-cpus flag for clang.
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
Diffstat (limited to 'llvm/lib/Analysis')
0 files changed, 0 insertions, 0 deletions

