[all-commits] [llvm/llvm-project] 78957b: [NFC] Refactor handling of Xarch option

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Sun Mar 22 11:43:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 78957bab5515d044caa4ec611b30c952ed63de2d
      https://github.com/llvm/llvm-project/commit/78957bab5515d044caa4ec611b30c952ed63de2d
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2020-03-22 (Sun, 22 Mar 2020)

  Changed paths:
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/HIP.cpp

  Log Message:
  -----------
  [NFC] Refactor handling of Xarch option

Extract common code to a function. To prepare for
adding an option for CUDA/HIP host and device only
option.

Differential Revision: https://reviews.llvm.org/D76455




More information about the All-commits mailing list