LoopVectorizer: Clear all member data structures in RuntimeCheck.reset()
authorArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 1 Nov 2013 03:05:04 +0000 (03:05 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 1 Nov 2013 03:05:04 +0000 (03:05 +0000)
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

lib/Transforms/Vectorize/LoopVectorize.cpp

index 507f67f9c22720b713668df5c2cd2cc97fe83ba2..e972326e7c49349e5488937791713731c3ed1347 100644 (file)
@@ -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.