diff --git a/llvm/lib/Transforms/Scalar/DivRemPairs.cpp b/llvm/lib/Transforms/Scalar/DivRemPairs.cpp index 8d419d95c752..d44a5979a8b2 100644 --- a/llvm/lib/Transforms/Scalar/DivRemPairs.cpp +++ b/llvm/lib/Transforms/Scalar/DivRemPairs.cpp @@ -221,6 +221,7 @@ static bool optimizeDivRem(Function &F, const TargetTransformInfo &TTI, NumRecomposed++; // Note that we have left ((X / Y) * Y) around. // If it had other uses we could rewrite it as X - X % Y + Changed = true; } assert((!E.isRemExpanded() || !HasDivRemOp) &&