commit | df6a97d185f4e7ac0ea672db9c63b2273cc84cf8 | [log] [tgz] |
---|---|---|
author | Ziang Wan <ziangw2@illinois.edu> | Fri Jun 14 21:42:21 2019 |
committer | Ziang Wan <ziangw2@illinois.edu> | Fri Jun 14 21:42:21 2019 |
tree | 00af281a8a29c71341b675611c1896f84826319d | |
parent | fb6b6849966d77776e632d59b0ffca028f20a1d7 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363464 91177308-0d34-0410-b5e6-96231b3b80d8