[llvm] r273163 - Forgot to update callers of deleteDeadInstruction
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 20 09:07:39 PDT 2016
Author: majnemer
Date: Mon Jun 20 11:07:38 2016
New Revision: 273163
URL: http://llvm.org/viewvc/llvm-project?rev=273163&view=rev
Log:
Forgot to update callers of deleteDeadInstruction
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp?rev=273163&r1=273162&r2=273163&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp Mon Jun 20 11:07:38 2016
@@ -782,7 +782,7 @@ bool LoopIdiomRecognize::processLoopStri
// Okay, the memset has been formed. Zap the original store and anything that
// feeds into it.
for (auto *I : Stores)
- deleteDeadInstruction(I, TLI);
+ deleteDeadInstruction(I);
++NumMemSet;
return true;
}
@@ -891,7 +891,7 @@ bool LoopIdiomRecognize::processLoopStor
// Okay, the memcpy has been formed. Zap the original store and anything that
// feeds into it.
- deleteDeadInstruction(SI, TLI);
+ deleteDeadInstruction(SI);
++NumMemCpy;
return true;
}
More information about the llvm-commits
mailing list