diff options
| author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-07-27 06:34:53 +0000 |
|---|---|---|
| committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-07-27 06:34:53 +0000 |
| commit | 9cf05464aa4487ed420940a45973ea20b3c9611b (patch) | |
| tree | 9f031b0cfd01537ac7938619745fcb07f045565a | |
| parent | be1cb22587cc04146165944c8a7e4519ca966aa8 (diff) | |
| download | bcm5719-llvm-9cf05464aa4487ed420940a45973ea20b3c9611b.tar.gz bcm5719-llvm-9cf05464aa4487ed420940a45973ea20b3c9611b.zip | |
[GVNHoist] Fix typo in assert.
This fixes PR28730.
llvm-svn: 276844
| -rw-r--r-- | llvm/lib/Transforms/Scalar/GVNHoist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVNHoist.cpp b/llvm/lib/Transforms/Scalar/GVNHoist.cpp index 8f26a3206d9..19b8dd76942 100644 --- a/llvm/lib/Transforms/Scalar/GVNHoist.cpp +++ b/llvm/lib/Transforms/Scalar/GVNHoist.cpp @@ -74,7 +74,7 @@ public: unsigned ADFS = DFSNumber.lookup(A); unsigned BDFS = DFSNumber.lookup(B); - assert (ADFS && ADFS); + assert (ADFS && BDFS); return ADFS < BDFS; } }; |

