[llvm] r258655 - Fix buildbot failures
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 23 22:40:37 PST 2016
Author: majnemer
Date: Sun Jan 24 00:40:37 2016
New Revision: 258655
URL: http://llvm.org/viewvc/llvm-project?rev=258655&view=rev
Log:
Fix buildbot failures
Modified:
llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SCCP.cpp?rev=258655&r1=258654&r2=258655&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SCCP.cpp Sun Jan 24 00:40:37 2016
@@ -1603,7 +1603,7 @@ bool SCCP::runOnFunction(Function &F) {
DEBUG(dbgs() << " BasicBlock Dead:" << *BB);
++NumDeadBlocks;
- NumInstRemoved += removeAllNonTerminatorAndEHPadInstructions(BB);
+ NumInstRemoved += removeAllNonTerminatorAndEHPadInstructions(&*BB);
MadeChanges = true;
continue;
More information about the llvm-commits
mailing list