@@ -117,7 +117,7 @@ original leaf node A is being removed and a corresponding logging statement
117
117
}
118
118
}
119
119
}
120
- XLS_VLOG (3) << "DCE removing " << node->ToString();
120
+ VLOG (3) << "DCE removing " << node->ToString();
121
121
XLS_RETURN_IF_ERROR(f->RemoveNode(node));
122
122
removed_count++;
123
123
}
@@ -128,7 +128,7 @@ For this pass, this amounts to returning whether or not a single IR node has
128
128
been DCE'ed:
129
129
130
130
```c++
131
- XLS_VLOG (2) << "Removed " << removed_count << " dead nodes";
131
+ VLOG (2) << "Removed " << removed_count << " dead nodes";
132
132
return removed_count > 0;
133
133
}
134
134
```
@@ -349,7 +349,7 @@ and mark the IR as modified. We also note whether a true match was found (via
349
349
` replaced ` ):
350
350
351
351
``` c++
352
- XLS_VLOG (3 ) << absl::StreamFormat(
352
+ VLOG (3 ) << absl::StreamFormat(
353
353
"Replacing %s with equivalent node %s", node->GetName(),
354
354
candidate->GetName());
355
355
XLS_RETURN_IF_ERROR(node->ReplaceUsesWith(candidate));
@@ -416,7 +416,7 @@ literals as operands as well as whether it is safe to replace the node.
416
416
!OpIsSideEffecting(node->op()) &&
417
417
std::all_of(node->operands().begin(), node->operands().end(),
418
418
[](Node* o) { return o->Is<Literal>(); })) {
419
- XLS_VLOG (2) << "Folding: " << *node;
419
+ VLOG (2) << "Folding: " << *node;
420
420
```
421
421
422
422
Here now comes the fun part. If the condition is true, XLS simply collects the
0 commit comments