Skip to content

Commit

Permalink
[GVNHoist] Fix typo in assert.
Browse files Browse the repository at this point in the history
This fixes PR28730.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276844 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
gburgessiv committed Jul 27, 2016
1 parent c53e16c commit 7963f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Transforms/Scalar/GVNHoist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ struct SortByDFSIn {

unsigned ADFS = DFSNumber.lookup(A);
unsigned BDFS = DFSNumber.lookup(B);
assert (ADFS && ADFS);
assert (ADFS && BDFS);
return ADFS < BDFS;
}
};
Expand Down

0 comments on commit 7963f42

Please sign in to comment.