[llvm] r193852 - LoopVectorizer: Clear all member data structures in RuntimeCheck.reset()

Arnold Schwaighofer aschwaighofer at apple.com
Thu Oct 31 20:05:04 PDT 2013


Author: arnolds
Date: Thu Oct 31 22:05:04 2013
New Revision: 193852

URL: http://llvm.org/viewvc/llvm-project?rev=193852&view=rev
Log:
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.

Modified:
    llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp

Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=193852&r1=193851&r2=193852&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Thu Oct 31 22:05:04 2013
@@ -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.





More information about the llvm-commits mailing list