diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2016-06-20 16:07:38 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2016-06-20 16:07:38 +0000 |
| commit | 41ff4fdcd464801c9591f149519f04314db05d2d (patch) | |
| tree | 757b462c4a4cc16ebc559d5079ea17c52378ccb8 | |
| parent | c5601df9fdf0ac84cc95d65e97f7fb3423e844d7 (diff) | |
| download | bcm5719-llvm-41ff4fdcd464801c9591f149519f04314db05d2d.tar.gz bcm5719-llvm-41ff4fdcd464801c9591f149519f04314db05d2d.zip | |
Forgot to update callers of deleteDeadInstruction
llvm-svn: 273163
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index d75dbb47771..17985e06a6b 100644 --- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -782,7 +782,7 @@ bool LoopIdiomRecognize::processLoopStridedStore( // 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::processLoopStoreOfLoopLoad(StoreInst *SI, // Okay, the memcpy has been formed. Zap the original store and anything that // feeds into it. - deleteDeadInstruction(SI, TLI); + deleteDeadInstruction(SI); ++NumMemCpy; return true; } |

