[DependenceInfo] Compute WAR dependence info using ISL kills. NFC.
authorMichael Kruse <llvm@meinersbur.de>
Thu, 29 Aug 2019 18:55:55 +0000 (18:55 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Thu, 29 Aug 2019 18:55:55 +0000 (18:55 +0000)
commitacbdd07de6dee3f0604c3256acedd58e15a08d5c
treebd7abb3ce6b638c5299b540ac87a9e22043c740a
parentb859168ec91c157ab5b929f0859bbd1d113d3da8
[DependenceInfo] Compute WAR dependence info using ISL kills. NFC.

When reading code of Dependences::calculateDependences, I noticed that
WAR is computed specifically by buildWAR.  Given ISL now
supports "kills" in approximate dataflow analysis, this patch takes
advantage of it.

This patch also cleans up a couple lines redundant codes.

Patch by bin.narwal <bin.narwal@gmail.com>

Differential Revision: https://reviews.llvm.org/D66741

llvm-svn: 370396
polly/lib/Analysis/DependenceInfo.cpp