Files
clang-p2996/llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
Kai Nacke 50b26de3c5 [SystemZ] Add support for tune-cpu attribute
clang (like gcc) has the `-mtune=` command line option. This option
adds the `"tune-cpu"` attribute to a function. The intended functionality
is that the scheduling model of that cpu is used. E.g. `-mtune=z15 -march=z14`
generates only instructions supported on z14 but uses the scheduling model
of z15 for it.
This PR adds the infrastructure to support this.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D128910
2022-06-30 12:50:11 -04:00

4.7 KiB