Dependences: Eliminate warning about possibly uninitialized pointers
llvm-svn: 201898
This commit is contained in:
parent
eac0aa47b4
commit
e87e0343de
|
@ -113,7 +113,9 @@ void Dependences::calculateDependences(Scop &S) {
|
|||
dbgs() << "MayWrite: " << MayWrite << "\n";
|
||||
dbgs() << "Schedule: " << Schedule << "\n");
|
||||
|
||||
WAW = WAW = WAR;
|
||||
// The pointers below will be set by the subsequent calls to
|
||||
// isl_union_map_compute_flow.
|
||||
WAW = WAW = WAR = NULL;
|
||||
|
||||
if (OptAnalysisType == VALUE_BASED_ANALYSIS) {
|
||||
isl_union_map_compute_flow(
|
||||
|
|
Loading…
Reference in New Issue