[all-commits] [llvm/llvm-project] 57ef29: [OpenMP] Remove use of removed '-f[no-]openmp-new-...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Sep 6 11:40:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57ef29f2835eb594bc2ad4793df05188be4c2ef6
      https://github.com/llvm/llvm-project/commit/57ef29f2835eb594bc2ad4793df05188be4c2ef6
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M clang/docs/ClangCommandLineReference.rst
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c

  Log Message:
  -----------
  [OpenMP] Remove use of removed '-f[no-]openmp-new-driver' flag

The changes in D130020 removed all support for the old method of
compiling OpenMP offloading programs. This means that
`-fopenmp-new-driver` has no effect and `-fno-openmp-new-driver` does
not work. This patch removes the use and documentation of this flag.
Note that the `--offload-new-driver` flag still exists for using the new
driver optionally with CUDA and HIP.

Reviewed By: tra

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




More information about the All-commits mailing list