[all-commits] [llvm/llvm-project] e43247: [Clang][Flang][AMDGPU] Add support for AMDGPU to F...

Dominik Adamski via All-commits all-commits at lists.llvm.org
Wed Mar 29 00:30:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e43247dd329cabf7eb4dd4323b3422d3774e57a7
      https://github.com/llvm/llvm-project/commit/e43247dd329cabf7eb4dd4323b3422d3774e57a7
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Driver/target-cpu-features-invalid.f90
    M flang/test/Driver/target-cpu-features.f90
    M llvm/include/llvm/TargetParser/TargetParser.h
    M llvm/lib/TargetParser/TargetParser.cpp

  Log Message:
  -----------
  [Clang][Flang][AMDGPU] Add support for AMDGPU to Flang driver

Scope of changes:
  1) Extract common code between Clang and Flang for parsing AMDGPU features
  2) Add function which adds implicit target features for AMDGPU as Clang does
  3) Add AMDGPU target as one of valid targets for Flang

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

Reviewed By: yaxunl, awarzynski




More information about the All-commits mailing list