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 4cc6e5e commit da851f3Copy full SHA for da851f3
IGC/Compiler/Optimizer/BuiltInFuncImport.cpp
@@ -957,6 +957,7 @@ bool PreBIImportAnalysis::runOnModule(Module& M)
957
958
auto modMD = getAnalysis<MetaDataUtilsWrapper>().getModuleMetaData();
959
if ((modMD->compOpt.MatchSinCosPi) &&
960
+ !(modMD->compOpt.FastRelaxedMath) &&
961
(funcName.startswith("__builtin_spirv_OpenCL_cos_f32") ||
962
funcName.startswith("__builtin_spirv_OpenCL_sin_f32"))) {
963
for (auto Users : pFunc->users()) {
0 commit comments