From aeb48640905dcca4bf8dbd6720867256243183b4 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Fri, 12 May 2017 17:23:07 +0000 Subject: [PATCH] [Simplify] Reset all stats between runs. llvm-svn: 302926 --- polly/lib/Transform/Simplify.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polly/lib/Transform/Simplify.cpp b/polly/lib/Transform/Simplify.cpp index 7a9df5c..16fdbe1 100644 --- a/polly/lib/Transform/Simplify.cpp +++ b/polly/lib/Transform/Simplify.cpp @@ -379,6 +379,9 @@ public: virtual void releaseMemory() override { S = nullptr; + + IdenticalWritesRemoved = 0; + RedundantWritesRemoved = 0; StmtsRemoved = 0; } }; -- 2.7.4