[all-commits] [llvm/llvm-project] 9f99ab: [clang][SystemZ] Add support for -march=native

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Mon Dec 16 07:13:03 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f99aba1cfeb603f368c45ef78ba9795bab16d47
      https://github.com/llvm/llvm-project/commit/9f99aba1cfeb603f368c45ef78ba9795bab16d47
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/SystemZ.cpp
    M clang/lib/Driver/ToolChains/Arch/SystemZ.h
    M clang/lib/Driver/ToolChains/Gnu.cpp

  Log Message:
  -----------
  [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 *.




More information about the All-commits mailing list