diff options
author | Michael Maitland <michaeltmaitland@gmail.com> | 2023-02-27 13:54:06 -0800 |
---|---|---|
committer | Michael Maitland <michaeltmaitland@gmail.com> | 2023-02-28 10:45:35 -0800 |
commit | 003078b62d8d40fc000462a97c3b70e01cbe4458 (patch) | |
tree | 830c563260136549725647aaba71aa505102ff4c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 2ae39902506f38d6368a7dbe3d64109f57ad6f99 (diff) | |
download | llvm-003078b62d8d40fc000462a97c3b70e01cbe4458.zip llvm-003078b62d8d40fc000462a97c3b70e01cbe4458.tar.gz llvm-003078b62d8d40fc000462a97c3b70e01cbe4458.tar.bz2 |
[Clang][Driver] Add -mcpu=help and -mtune=help to clang
Clang currently uses `-mcpu=?` and `-mtune=?`. The `?` causes errors on some
shells such as zsh since it is a special character. In order for it to work on
shells such as zsh, the option must be passed in quotes or escaped. This patch
adds `-mcpu=help` and `-mtune=help` as another alias for `--print-supported-cpus`.
In llc, `-mcpu=help` is an alias to print supported cpus.
Differential Revision: https://reviews.llvm.org/D144914
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions