We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa909d2 commit fcc4786Copy full SHA for fcc4786
clang/lib/Driver/ToolChains/Clang.cpp
@@ -10693,8 +10693,8 @@ static void getTripleBasedSPIRVTransOpts(Compilation &C,
10693
TCArgs.hasFlag(options::OPT_fno_offload_fp32_prec_div,
10694
options::OPT_foffload_fp32_prec_div, false));
10695
};
10696
- if (IsCPU && hasNoOffloadFP32PrecOption(TCArgs) ||
10697
- !IsCPU && shouldUseOffloadFP32PrecOption(TCArgs)) {
+ if ((IsCPU && hasNoOffloadFP32PrecOption(TCArgs)) ||
+ shouldUseOffloadFP32PrecOption(TCArgs)) {
10698
ExtArg += ",+SPV_INTEL_fp_max_error";
10699
}
10700
0 commit comments