Skip to content

Commit

Permalink
Fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Mar 9, 2024
1 parent 8392337 commit 98812c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enzyme/Enzyme/MLIR/Passes/RemoveUnusedEnzymeOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ namespace {
// check before end.
bool mayExecuteBefore(Block *blk, Operation *check, Operation *end) {
auto reg = blk->getParent();
(void)reg;
assert(reg->isAncestor(end->getParentRegion()));

DenseSet<Block *> visitedBlocks;
Expand Down

0 comments on commit 98812c0

Please sign in to comment.