[DependenceInfo] Compute WAR dependence info using ISL kills. NFC.
commite4b9b1e0476e8c8cd649d5f0b70c827db31d625d
authorMichael Kruse <llvm@meinersbur.de>
Thu, 29 Aug 2019 18:55:55 +0000 (29 18:55 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Thu, 29 Aug 2019 18:55:55 +0000 (29 18:55 +0000)
tree55142eb26d927f16912fd7243bbf836e944bd9af
parent262eb1f8bbf63b4748c0eaf7b308c0c5b60cdd0b
[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

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@370396 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DependenceInfo.cpp