[LLE] Fix a comment

llvm-svn: 262270
This commit is contained in:
Adam Nemet 2016-02-29 23:21:12 +00:00
parent 98a71505f5
commit efc091f457
1 changed files with 3 additions and 3 deletions

View File

@ -219,9 +219,9 @@ public:
if (OtherCand == nullptr) if (OtherCand == nullptr)
continue; continue;
// Handle the very basic of case when the two stores are in the same // Handle the very basic case when the two stores are in the same block
// block so deciding which one forwards is easy. The later one forwards // so deciding which one forwards is easy. The later one forwards as
// as long as they both have a dependence distance of one to the load. // long as they both have a dependence distance of one to the load.
if (Cand.Store->getParent() == OtherCand->Store->getParent() && if (Cand.Store->getParent() == OtherCand->Store->getParent() &&
Cand.isDependenceDistanceOfOne(PSE) && Cand.isDependenceDistanceOfOne(PSE) &&
OtherCand->isDependenceDistanceOfOne(PSE)) { OtherCand->isDependenceDistanceOfOne(PSE)) {