diff --git a/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp b/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp --- a/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp +++ b/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp @@ -155,11 +155,6 @@ Fn.getEntryBlock(), &getAnalysis().getPSI()); - if (MadeChange) { - LLVM_DEBUG(dbgs() << "********** Function after Constant Hoisting: " - << Fn.getName() << '\n'); - LLVM_DEBUG(dbgs() << Fn); - } LLVM_DEBUG(dbgs() << "********** End Constant Hoisting **********\n"); return MadeChange;