[polly] r187981 - PollyDependence: Simplify Read/Write/MayWrite before feeding them into ISL.
Tobias Grosser
tobias at grosser.es
Thu Aug 8 06:55:45 PDT 2013
Author: grosser
Date: Thu Aug 8 08:55:45 2013
New Revision: 187981
URL: http://llvm.org/viewvc/llvm-project?rev=187981&view=rev
Log:
PollyDependence: Simplify Read/Write/MayWrite before feeding them into ISL.
Contributed-by: Star Tan <tanmx_star at yeah.net>
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=187981&r1=187980&r2=187981&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/Dependences.cpp (original)
+++ polly/trunk/lib/Analysis/Dependences.cpp Thu Aug 8 08:55:45 2013
@@ -95,6 +95,10 @@ void Dependences::calculateDependences(S
collectInfo(S, &Read, &Write, &MayWrite, &Schedule);
+ Read = isl_union_map_coalesce(Read);
+ Write = isl_union_map_coalesce(Write);
+ MayWrite = isl_union_map_coalesce(MayWrite);
+
DEBUG(dbgs() << "Read: " << Read << "\n";
dbgs() << "Write: " << Write << "\n";
dbgs() << "MayWrite: " << MayWrite << "\n";
More information about the llvm-commits
mailing list