Skip to content

Commit 303c4f1

Browse files
committed
[Autobackout][Manual]Revert of change: 878b804
Add global dead code elimnation pass before ErrorCheck pass to get rid of dead functions which may contain fp64 types Change-Id: I5d787b096bf7f78b0818cc2b2c2524c13f03c29f
1 parent 0f419f2 commit 303c4f1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

IGC/AdaptorOCL/UnifyIROCL.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,6 @@ static void CommonOCLBasedPasses(
279279
mpm.add(new MetaDataUtilsWrapper(pMdUtils, pContext->getModuleMetaData()));
280280
mpm.add(new CodeGenContextWrapper(pContext));
281281

282-
// Run GlobalDCE before ErrorCheck to remove dead functions which may contain fp64 types
283-
mpm.add(createProcessFuncAttributesPass());
284-
mpm.add(createGlobalDCEPass());
285-
286282
mpm.add(new ErrorCheck());
287283

288284
mpm.add(new ClampLoopUnroll(256));

0 commit comments

Comments
 (0)