From: Arnold Schwaighofer Date: Fri, 1 Nov 2013 03:05:04 +0000 (+0000) Subject: LoopVectorizer: Clear all member data structures in RuntimeCheck.reset() X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d272a1223314a69e4678816feeff2cfb3e740f8f;p=oota-llvm.git LoopVectorizer: Clear all member data structures in RuntimeCheck.reset() Clear all data structures when resetting the RuntimeCheck data structure. No test case. This was exposed by an upcomming change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193852 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 507f67f9c22..e972326e7c4 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -493,6 +493,8 @@ public: Pointers.clear(); Starts.clear(); Ends.clear(); + IsWritePtr.clear(); + DependencySetId.clear(); } /// Insert a pointer and calculate the start and end SCEVs.