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 9f5c9ae commit 878b804Copy full SHA for 878b804
IGC/AdaptorOCL/UnifyIROCL.cpp
@@ -279,6 +279,10 @@ static void CommonOCLBasedPasses(
279
mpm.add(new MetaDataUtilsWrapper(pMdUtils, pContext->getModuleMetaData()));
280
mpm.add(new CodeGenContextWrapper(pContext));
281
282
+ // Run GlobalDCE before ErrorCheck to remove dead functions which may contain fp64 types
283
+ mpm.add(createProcessFuncAttributesPass());
284
+ mpm.add(createGlobalDCEPass());
285
+
286
mpm.add(new ErrorCheck());
287
288
mpm.add(new ClampLoopUnroll(256));
0 commit comments