summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2013-11-01 03:05:04 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2013-11-01 03:05:04 +0000
commitd272a1223314a69e4678816feeff2cfb3e740f8f (patch)
tree9a22f0e9703c93f51d3c65f2a5fd26d2d239efb5 /lib/Transforms
parent9fd6ef28a39b8dfbd61ece16fb6f410881574d62 (diff)
downloadllvm-d272a1223314a69e4678816feeff2cfb3e740f8f.tar.gz
llvm-d272a1223314a69e4678816feeff2cfb3e740f8f.tar.bz2
llvm-d272a1223314a69e4678816feeff2cfb3e740f8f.tar.xz
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Vectorize/LoopVectorize.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp
index 507f67f9c2..e972326e7c 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.