Dependences: Do not assign 'WAW' twice

Reported-by: Sebastian Pop <spop@codeaurora.org>
Reported-by: Yabin Hu <yabin.hwu@gmail.com>
llvm-svn: 201903
This commit is contained in:
Tobias Grosser 2014-02-21 23:08:58 +00:00
parent 88640d2b47
commit fa1a4320af
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ void Dependences::calculateDependences(Scop &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(