[SystemZ] Enable `-mtune=` option in clang.
authorKai Nacke <kai.nacke@de.ibm.com>
Wed, 13 Jul 2022 14:08:44 +0000 (10:08 -0400)
committerKai Nacke <kai.nacke@de.ibm.com>
Wed, 13 Jul 2022 15:39:24 +0000 (11:39 -0400)
commit880eb839e63fb40de11e5f488cfef62d7ebbffbe
tree59b1d62315b383f417a06db4a0007375d0f0c951
parent65897292065ef73c6ac74c4b3f86f0431c91cb49
[SystemZ] Enable `-mtune=` option in clang.

https://reviews.llvm.org/D128910 enabled handling of
attribute "tune-cpu" in LLVM. This PR now enables
option `-mtune` in clang, which then generates the
new attribute.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D129562
clang/docs/ClangCommandLineReference.rst
clang/include/clang/Driver/Options.td
clang/lib/Basic/Targets/SystemZ.h
clang/lib/Driver/ToolChains/Clang.cpp