diff options
| author | Qiongsi Wu <qiongsiwu@gmail.com> | 2022-12-15 10:03:05 -0500 |
|---|---|---|
| committer | Qiongsi Wu <qiongsiwu@gmail.com> | 2022-12-15 10:55:26 -0500 |
| commit | de8deb5189c948db89c753ff2dff65b8e7840e8b (patch) | |
| tree | ecc5b39a1911391e80b448733905bb74ffcc21d5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | a33b40d61c64b95d736f1a0dd537e9087c330304 (diff) | |
[clang][PPC] Supporting -mcpu=405
The ClangBuiltLinux project relies on `-mcpu=405`. Before https://reviews.llvm.org/D139720, `clang` treated `-mcpu=405` implicitly in the same way as `-mcpu=generic`, because `405` was an unknown value and `clang` did not validate unknown input values. https://reviews.llvm.org/D139720 added the validation of `-mcpu` input value, and `clang` now generates an error with `-mcpu=405`. For further details of the problem, see https://github.com/ClangBuiltLinux/linux/issues/1771.
This patch adds support of `-mcpu=405` explicitly, and treats it as an equivalent of `-mcpu=generic`.
Reviewed By: nemanjai
Differential Revision: https://reviews.llvm.org/D140080
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
