diff options
| author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-03-17 13:26:10 +0000 |
|---|---|---|
| committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-03-17 13:26:10 +0000 |
| commit | 4fe11cf95ff26a98d2bc6ce8e8bffa0ab4df7824 (patch) | |
| tree | d91c08abce99f61bd384bfc68255d2129972d8cd /polly/lib/Analysis/DependenceInfo.cpp | |
| parent | 4ddd9c9bd6848126d28c985aac94cd57adbd733b (diff) | |
| download | bcm5719-llvm-4fe11cf95ff26a98d2bc6ce8e8bffa0ab4df7824.tar.gz bcm5719-llvm-4fe11cf95ff26a98d2bc6ce8e8bffa0ab4df7824.zip | |
[DependenceInfo] Remove idempotent union: must-writes with may-writes [NFC]
Since may-writes are always a superset of the must-writes, there is no
point in taking a union of one with the other.
llvm-svn: 298085
Diffstat (limited to 'polly/lib/Analysis/DependenceInfo.cpp')
| -rw-r--r-- | polly/lib/Analysis/DependenceInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/Analysis/DependenceInfo.cpp b/polly/lib/Analysis/DependenceInfo.cpp index 4a9ae74e757..ef601aca00d 100644 --- a/polly/lib/Analysis/DependenceInfo.cpp +++ b/polly/lib/Analysis/DependenceInfo.cpp @@ -368,8 +368,7 @@ void Dependences::calculateDependences(Scop &S) { Flow = buildFlow(Read, Write, MayWrite, Schedule); - RAW = isl_union_flow_get_must_dependence(Flow); - RAW = isl_union_map_union(RAW, isl_union_flow_get_may_dependence(Flow)); + RAW = isl_union_flow_get_may_dependence(Flow); isl_union_flow_free(Flow); Flow = buildFlow(Write, Write, Read, Schedule); |

