Skip to content

Commit

Permalink
Fix unused variable warning.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293260 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Weverything committed Jan 27, 2017
1 parent 611cb2c commit 3142e69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Transforms/Scalar/NewGVN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2402,6 +2402,7 @@ bool NewGVN::eliminateInstructions(Function &F) {
continue;
assert(!EliminationStack.empty());
Instruction *Leader = cast<Instruction>(EliminationStack.back());
(void)Leader;
assert(DT->dominates(Leader->getParent(), Member->getParent()));
// Member is dominater by Leader, and thus dead
DEBUG(dbgs() << "Marking dead store " << *Member
Expand Down

0 comments on commit 3142e69

Please sign in to comment.