Skip to content

Commit fb1b7d6

Browse files
admitricigcbot
authored andcommitted
Enable 2D block intrinsics conversion pass when LICM is not
enable
1 parent 95c834d commit fb1b7d6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

IGC/AdaptorOCL/UnifyIROCL.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -598,11 +598,8 @@ static void CommonOCLBasedPasses(OpenCLProgramContext* pContext)
598598
// Break down the intrinsics into smaller operations (eg. fmuladd to fmul add)
599599
mpm.add(new BreakdownIntrinsicPass());
600600

601-
// Break down 2D block intrinsics. Should be before a call to LICM. Mostly
602-
// useful when LICM is enabled, so we will consider only that case
603-
if (IGC_IS_FLAG_ENABLED(allowLICM)) {
604-
mpm.add(createDecompose2DBlockFuncsPass());
605-
}
601+
// Break down 2D block intrinsics. Should be before a call to LICM
602+
mpm.add(createDecompose2DBlockFuncsPass());
606603

607604
{
608605
if(IGC_IS_FLAG_ENABLED(EnableConstantPromotion))

0 commit comments

Comments
 (0)