@@ -3071,10 +3071,10 @@ def mwavefrontsize64 : Flag<["-"], "mwavefrontsize64">, Group<m_Group>,
3071
3071
def mno_wavefrontsize64 : Flag<["-"], "mno-wavefrontsize64">, Group<m_Group>,
3072
3072
HelpText<"Specify wavefront size 32 mode (AMDGPU only)">;
3073
3073
3074
- def munsafe_fp_atomics : Flag<["-"], "munsafe- fp-atomics">, Group<m_Group> ,
3075
- HelpText<"Enable unsafe floating point atomic instructions (AMDGPU only)"> ,
3076
- Flags<[CC1Option]>;
3077
- def mno_unsafe_fp_atomics : Flag<["-"] , "mno-unsafe-fp-atomics ">, Group<m_Group>;
3074
+ defm unsafe_fp_atomics : BoolCC1Option<"unsafe- fp-atomics",
3075
+ TargetOpts<"AllowAMDGPUUnsafeFPAtomics">, DefaultsToFalse ,
3076
+ ChangedBy<PosFlag, [], "Enable unsafe floating point atomic instructions (AMDGPU only)">,
3077
+ ResetBy<NegFlag>, BothFlags<[]> , "m ">, Group<m_Group>;
3078
3078
3079
3079
def faltivec : Flag<["-"], "faltivec">, Group<f_Group>, Flags<[NoXarchOption]>;
3080
3080
def fno_altivec : Flag<["-"], "fno-altivec">, Group<f_Group>, Flags<[NoXarchOption]>;
@@ -4378,7 +4378,10 @@ def analyzer_checker_option_help_developer : Flag<["-"], "analyzer-checker-optio
4378
4378
MarshallingInfoFlag<AnalyzerOpts<"ShowCheckerOptionDeveloperList">>;
4379
4379
4380
4380
def analyzer_config_compatibility_mode : Separate<["-"], "analyzer-config-compatibility-mode">,
4381
- HelpText<"Don't emit errors on invalid analyzer-config inputs">;
4381
+ HelpText<"Don't emit errors on invalid analyzer-config inputs">,
4382
+ Values<"true,false">, NormalizedValues<[[{false}], [{true}]]>,
4383
+ MarshallingInfoString<AnalyzerOpts<"ShouldEmitErrorsOnInvalidConfigValue">, [{true}]>,
4384
+ AutoNormalizeEnum;
4382
4385
4383
4386
def analyzer_config_compatibility_mode_EQ : Joined<["-"], "analyzer-config-compatibility-mode=">,
4384
4387
Alias<analyzer_config_compatibility_mode>;
@@ -4842,7 +4845,8 @@ def plugin_arg : JoinedAndSeparate<["-"], "plugin-arg-">,
4842
4845
MetaVarName<"<name> <arg>">,
4843
4846
HelpText<"Pass <arg> to plugin <name>">;
4844
4847
def add_plugin : Separate<["-"], "add-plugin">, MetaVarName<"<name>">,
4845
- HelpText<"Use the named plugin action in addition to the default action">;
4848
+ HelpText<"Use the named plugin action in addition to the default action">,
4849
+ MarshallingInfoStringVector<FrontendOpts<"AddPluginActions">>;
4846
4850
def ast_dump_filter : Separate<["-"], "ast-dump-filter">,
4847
4851
MetaVarName<"<dump_filter>">,
4848
4852
HelpText<"Use with -ast-dump or -ast-print to dump/print only AST declaration"
@@ -5118,10 +5122,13 @@ def fhalf_no_semantic_interposition : Flag<["-"], "fhalf-no-semantic-interpositi
5118
5122
def fno_validate_pch : Flag<["-"], "fno-validate-pch">,
5119
5123
HelpText<"Disable validation of precompiled headers">,
5120
5124
MarshallingInfoFlag<PreprocessorOpts<"DisablePCHValidation">>;
5121
- def fallow_pch_with_errors : Flag<["-"], "fallow-pch-with-compiler-errors">,
5122
- HelpText<"Accept a PCH file that was created with compiler errors">;
5123
5125
def fallow_pcm_with_errors : Flag<["-"], "fallow-pcm-with-compiler-errors">,
5124
- HelpText<"Accept a PCM file that was created with compiler errors">;
5126
+ HelpText<"Accept a PCM file that was created with compiler errors">,
5127
+ MarshallingInfoFlag<FrontendOpts<"AllowPCMWithCompilerErrors">>;
5128
+ def fallow_pch_with_errors : Flag<["-"], "fallow-pch-with-compiler-errors">,
5129
+ HelpText<"Accept a PCH file that was created with compiler errors">,
5130
+ MarshallingInfoFlag<PreprocessorOpts<"AllowPCHWithCompilerErrors">>,
5131
+ ImpliedByAnyOf<[fallow_pcm_with_errors]>;
5125
5132
def dump_deserialized_pch_decls : Flag<["-"], "dump-deserialized-decls">,
5126
5133
HelpText<"Dump declarations that are deserialized from PCH, for testing">,
5127
5134
MarshallingInfoFlag<PreprocessorOpts<"DumpDeserializedPCHDecls">>;
0 commit comments