Skip to content

Commit

Permalink
[LLE] Fix a comment
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262270 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
anemet committed Feb 29, 2016
1 parent 3a7e753 commit 525f545
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Transforms/Scalar/LoopLoadElimination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ class LoadEliminationForLoop {
if (OtherCand == nullptr)
continue;

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

0 comments on commit 525f545

Please sign in to comment.