@@ -3997,6 +3997,21 @@ def fsycl_host_compiler_options_EQ : Joined<["-"], "fsycl-host-compiler-options=
3997
3997
Visibility<[ClangOption, CLOption, DXCOption]>, HelpText<"When performing the host compilation with "
3998
3998
"-fsycl-host-compiler specified, use the given options during that compile. "
3999
3999
"Options are expected to be a quoted list of space separated options.">;
4000
+ def fsycl_range_rounding_EQ : Joined<["-"], "fsycl-range-rounding=">,
4001
+ Visibility<[ClangOption, CLOption, DXCOption, CC1Option]>,
4002
+ Values<"on,disable,force">,
4003
+ NormalizedValuesScope<"LangOptions::SYCLRangeRoundingPreference">,
4004
+ NormalizedValues<["On", "Disable", "Force"]>,
4005
+ MarshallingInfoEnum<LangOpts<"SYCLRangeRounding">, "On">,
4006
+ HelpText<"Options for range rounding of SYCL range kernels: "
4007
+ "disable (do not generate range rounded kernels) "
4008
+ "force (only generate range rounded kernels) "
4009
+ "on (generate range rounded kernels as well as unrounded kernels). Default is 'on'">;
4010
+ def fsycl_disable_range_rounding : Flag<["-"], "fsycl-disable-range-rounding">,
4011
+ Visibility<[ClangOption, CLOption, DXCOption, CC1Option]>,
4012
+ Alias<fsycl_range_rounding_EQ>, AliasArgs<["disable"]>,
4013
+ HelpText<"Deprecated: please use -fsycl-range-rounding=disable instead.">,
4014
+ Flags<[Deprecated]>;
4000
4015
def fno_sycl_use_footer : Flag<["-"], "fno-sycl-use-footer">, Visibility<[ClangOption, CLOption, DXCOption]>,
4001
4016
HelpText<"Disable usage of the integration footer during SYCL enabled "
4002
4017
"compilations.">;
@@ -8256,20 +8271,6 @@ defm sycl_allow_func_ptr: BoolFOption<"sycl-allow-func-ptr",
8256
8271
def fenable_sycl_dae : Flag<["-"], "fenable-sycl-dae">,
8257
8272
HelpText<"Enable Dead Argument Elimination in SPIR kernels">,
8258
8273
MarshallingInfoFlag<LangOpts<"EnableDAEInSpirKernels">>;
8259
- def fsycl_range_rounding_EQ : Joined<["-"], "fsycl-range-rounding=">,
8260
- Visibility<[ClangOption, CLOption, DXCOption]>,
8261
- Values<"on,disable,force">,
8262
- NormalizedValuesScope<"LangOptions::SYCLRangeRoundingPreference">,
8263
- NormalizedValues<["On", "Disable", "Force"]>,
8264
- MarshallingInfoEnum<LangOpts<"SYCLRangeRounding">, "On">,
8265
- HelpText<"Options for range rounding of SYCL range kernels: "
8266
- "disable (do not generate range rounded kernels) "
8267
- "force (only generate range rounded kernels) "
8268
- "on (generate range rounded kernels as well as unrounded kernels). Default is 'on'">;
8269
- def fsycl_disable_range_rounding : Flag<["-"], "fsycl-disable-range-rounding">,
8270
- Alias<fsycl_range_rounding_EQ>, AliasArgs<["disable"]>,
8271
- HelpText<"Deprecated: please use -fsycl-range-rounding=disable instead.">,
8272
- Flags<[Deprecated]>;
8273
8274
def fsycl_enable_int_header_diags: Flag<["-"], "fsycl-enable-int-header-diags">,
8274
8275
HelpText<"Enable diagnostics that require the SYCL integration header.">,
8275
8276
MarshallingInfoFlag<LangOpts<"SYCLEnableIntHeaderDiags">>;
0 commit comments