[all-commits] [llvm/llvm-project] a8ac93: [Flang] Add code-object-version option (#72638)

Dominik Adamski via All-commits all-commits at lists.llvm.org
Tue Nov 28 10:57:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8ac930b99d93b2a539ada7e566993d148899144
      https://github.com/llvm/llvm-project/commit/a8ac930b99d93b2a539ada7e566993d148899144
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M clang/include/clang/Basic/TargetOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Driver/ToolChains/Flang.h
    M flang/include/flang/Frontend/CodeGenOptions.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    A flang/test/Driver/code-object-version.f90
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90
    A flang/test/Lower/AMD/code-object-version.f90
    M llvm/include/llvm/Target/TargetOptions.h

  Log Message:
  -----------
  [Flang] Add code-object-version option (#72638)

Information about code object version can be configured by the user for
AMD GPU target and it needs to be placed in LLVM IR generated by Flang.

Information about code object version in MLIR generated by the parser
can be reused by other tools. There is no need to specify extra flags if
we want to invoke MLIR tools (like fir-opt) separately.




More information about the All-commits mailing list