diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index 9d097ccae6aab53ccc3a7ddfcf5d260532d733db..b94b0473f7c2feea47202533a15b84f9baeadf5b 100644 --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -2093,10 +2093,6 @@ Emit OpenMP code only for SIMD-based constructs. Enable debugging in the OpenMP offloading device RTL -.. option:: -fopenmp-target-new-runtime, -fno-openmp-target-new-runtime - -Use the new bitcode library for OpenMP offloading - .. option:: -fopenmp-offload-mandatory Indicate that offloading to the device is mandatory and do not generate host-fallback code. diff --git a/clang/include/clang/Basic/LangOptions.def b/clang/include/clang/Basic/LangOptions.def index d5f8dd9ab5c04a62e2ac6b443ca7ec6a6315a794..7556dba35db18691e4b14e532600a5be15bff585 100644 --- a/clang/include/clang/Basic/LangOptions.def +++ b/clang/include/clang/Basic/LangOptions.def @@ -242,7 +242,6 @@ LANGOPT(OpenMPCUDAForceFullRuntime , 1, 0, "Force to use full runtime in all con LANGOPT(OpenMPCUDANumSMs , 32, 0, "Number of SMs for CUDA devices.") LANGOPT(OpenMPCUDABlocksPerSM , 32, 0, "Number of blocks per SM for CUDA devices.") LANGOPT(OpenMPCUDAReductionBufNum , 32, 1024, "Number of the reduction records in the intermediate reduction buffer used for the teams reductions.") -LANGOPT(OpenMPTargetNewRuntime , 1, 0, "Use the new bitcode library for OpenMP offloading") LANGOPT(OpenMPTargetDebug , 32, 0, "Enable debugging in the OpenMP offloading device RTL") LANGOPT(OpenMPOptimisticCollapse , 1, 0, "Use at most 32 bits to represent the collapsed loop nest counter.") LANGOPT(OpenMPThreadSubscription , 1, 0, "Assume work-shared loops do not have more iterations than participating threads.") diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 2e4b9f347ba5f9abd4ed76dd9cf2db313302e549..adce93dbfef1ebb85b60279dae20fb3a06d769b1 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -2504,10 +2504,10 @@ def fopenmp_offload_mandatory : Flag<["-"], "fopenmp-offload-mandatory">, Group< Flags<[CC1Option, NoArgumentUnused]>, HelpText<"Do not create a host fallback if offloading to the device fails.">, MarshallingInfoFlag<LangOpts<"OpenMPOffloadMandatory">>; -defm openmp_target_new_runtime: BoolFOption<"openmp-target-new-runtime", - LangOpts<"OpenMPTargetNewRuntime">, DefaultTrue, - PosFlag<SetTrue, [CC1Option], "Use the new bitcode library for OpenMP offloading">, - NegFlag<SetFalse>>; +def fopenmp_target_new_runtime : Flag<["-"], "fopenmp-target-new-runtime">, + Group<f_Group>, Flags<[CC1Option, HelpHidden]>; +def fno_openmp_target_new_runtime : Flag<["-"], "fno-openmp-target-new-runtime">, + Group<f_Group>, Flags<[CC1Option, HelpHidden]>; defm openmp_optimistic_collapse : BoolFOption<"openmp-optimistic-collapse", LangOpts<"OpenMPOptimisticCollapse">, DefaultFalse, PosFlag<SetTrue, [CC1Option]>, NegFlag<SetFalse>, BothFlags<[NoArgumentUnused, HelpHidden]>>;