diff --git a/IGC/Compiler/Optimizer/IntDivConstantReduction.cpp b/IGC/Compiler/Optimizer/IntDivConstantReduction.cpp index 3133f75a7c57..e2b878508526 100644 --- a/IGC/Compiler/Optimizer/IntDivConstantReduction.cpp +++ b/IGC/Compiler/Optimizer/IntDivConstantReduction.cpp @@ -170,8 +170,11 @@ struct IntDivConstantReduction : public FunctionPass int shiftAmt = divisor.logBase2(); Value *result; if (isMod) { - // X % 2^K = (X & ((1<