[clang][SystemZ] Add support for -march=native
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 16 Dec 2019 15:09:09 +0000 (16:09 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 16 Dec 2019 15:11:32 +0000 (16:11 +0100)
commit9f99aba1cfeb603f368c45ef78ba9795bab16d47
tree3a2bf2d93364fa2cb682fa23e9e656eedf5d0a11
parenta0ff8cd631add513423fc2d8afa49e9650d01fe3
[clang][SystemZ] Add support for -march=native

Handle -march=native in systemz::getSystemZTargetCPU, similar to
how this is done on other platforms.  Also change the return type
to std::string instead of const char *.
clang/lib/Driver/ToolChains/Arch/SystemZ.cpp
clang/lib/Driver/ToolChains/Arch/SystemZ.h
clang/lib/Driver/ToolChains/Gnu.cpp