[polly] r201903 - Dependences: Do not assign 'WAW' twice

Tobias Grosser tobias at grosser.es
Fri Feb 21 15:08:58 PST 2014


Author: grosser
Date: Fri Feb 21 17:08:58 2014
New Revision: 201903

URL: http://llvm.org/viewvc/llvm-project?rev=201903&view=rev
Log:
Dependences: Do not assign 'WAW' twice

Reported-by: Sebastian Pop <spop at codeaurora.org>
Reported-by: Yabin Hu <yabin.hwu at gmail.com>

Modified:
    polly/trunk/lib/Analysis/Dependences.cpp

Modified: polly/trunk/lib/Analysis/Dependences.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/Dependences.cpp?rev=201903&r1=201902&r2=201903&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/Dependences.cpp (original)
+++ polly/trunk/lib/Analysis/Dependences.cpp Fri Feb 21 17:08:58 2014
@@ -115,7 +115,7 @@ void Dependences::calculateDependences(S
 
   // The pointers below will be set by the subsequent calls to
   // isl_union_map_compute_flow.
-  WAW = WAW = WAR = NULL;
+  RAW = WAW = WAR = NULL;
 
   if (OptAnalysisType == VALUE_BASED_ANALYSIS) {
     isl_union_map_compute_flow(





More information about the llvm-commits mailing list