Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 610047976
  • Loading branch information
XLS Team authored and copybara-github committed Feb 24, 2024
1 parent 4fca325 commit 29b76b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xls/jit/block_jit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ StreamingJitBlockEvaluator::EvaluateChannelizedSequentialBlock(

if (XLS_VLOG_IS_ON(3)) {
XLS_VLOG(3) << absl::StrFormat("Inputs Cycle %d", cycle);
for (auto [name, val] : input_set) {
for (const auto& [name, val] : input_set) {
XLS_VLOG(3) << absl::StrFormat("%s: %s", name, val.ToString());
}
}
Expand All @@ -440,7 +440,7 @@ StreamingJitBlockEvaluator::EvaluateChannelizedSequentialBlock(

if (XLS_VLOG_IS_ON(3)) {
XLS_VLOG(3) << absl::StrFormat("Outputs Cycle %d", cycle);
for (auto [name, val] : outputs) {
for (const auto& [name, val] : outputs) {
XLS_VLOG(3) << absl::StrFormat("%s: %s", name, val.ToString());
}
}
Expand Down
2 changes: 1 addition & 1 deletion xls/jit/proc_jit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ absl::StatusOr<std::unique_ptr<ProcJit>> ProcJit::Create(
queue_mgr->elaboration().GetInstances(proc)) {
jit->channel_queues_[proc_instance].resize(
jit->jitted_function_base_.queue_indices().size());
for (auto [channel_name, index] :
for (const auto& [channel_name, index] :
jit->jitted_function_base_.queue_indices()) {
XLS_ASSIGN_OR_RETURN(
ChannelInstance * channel_instance,
Expand Down

0 comments on commit 29b76b9

Please sign in to comment.