[OpenMP] Remove use of removed '-f[no-]openmp-new-driver' flag
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 6 Sep 2022 17:51:43 +0000 (12:51 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 6 Sep 2022 18:40:05 +0000 (13:40 -0500)
commit57ef29f2835eb594bc2ad4793df05188be4c2ef6
tree258abc2794572969163524fb26b3b94279eefdbd
parentf049b2c3fcbae739ac965f97fd6855ca1aab77b8
[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
clang/docs/ClangCommandLineReference.rst
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/amdgpu-openmp-toolchain.c