Dependences: Eliminate warning about possibly uninitialized pointers

llvm-svn: 201898
This commit is contained in:
Tobias Grosser 2014-02-21 22:45:48 +00:00
parent eac0aa47b4
commit e87e0343de
1 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,9 @@ void Dependences::calculateDependences(Scop &S) {
dbgs() << "MayWrite: " << MayWrite << "\n"; dbgs() << "MayWrite: " << MayWrite << "\n";
dbgs() << "Schedule: " << Schedule << "\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) { if (OptAnalysisType == VALUE_BASED_ANALYSIS) {
isl_union_map_compute_flow( isl_union_map_compute_flow(