Skip to content

Commit 626c9e4

Browse files
matborzyszkowskifda0
authored andcommitted
Remove unnecessary MD for poisoned kernels
After fp64 poisoning, unnecessary MDs exists in the Module. This change adds `PurgeMetaDataUtils` pass when fp64 poisoning is used. (cherry picked from commit 2422fe2)
1 parent 493e17c commit 626c9e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: IGC/AdaptorOCL/UnifyIROCL.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ static void CommonOCLBasedPasses(
579579
mpm.add(new ErrorCheck());
580580
if (pContext->m_Options.EnableUnsupportedFP64Poisoning) {
581581
mpm.add(new PoisonFP64Kernels());
582+
mpm.add(new PurgeMetaDataUtils());
582583
}
583584

584585
mpm.add(new ImageFuncResolution());

0 commit comments

Comments
 (0)