forked from OSchip/llvm-project
[PDL] fix unused variable warning in Release builds
This commit is contained in:
parent
0e099a64be
commit
1b0312d280
|
@ -491,6 +491,7 @@ void visitUpward(std::vector<PositionalPredicate> &predList, OpIndex opIndex,
|
|||
// cheaper to start the traversal at this value rather than at the
|
||||
// `connector`, violating the optimality of our spanning tree.
|
||||
bool inserted = valueToPosition.try_emplace(value, opPos).second;
|
||||
(void)inserted;
|
||||
assert(inserted && "duplicate upward visit");
|
||||
|
||||
// Obtain the tree predicates at the current value.
|
||||
|
|
Loading…
Reference in New Issue