Skip to content

Commit

Permalink
Remove warning about proc inlining now that we have multi-proc codegen.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 653771738
  • Loading branch information
grebe authored and copybara-github committed Jul 18, 2024
1 parent a0fd6ae commit c0487ef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions xls/passes/channel_legalization_pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1073,12 +1073,6 @@ absl::StatusOr<bool> ChannelLegalizationPass::RunInternal(
channel_name_uniquer));
changed = true;
}
// If we've added an adapter, we likely want to inline it.
// TODO(google/xls#950): remove this warning when multi-proc codegen is an
// option.
LOG_IF(ERROR, changed && !options.inline_procs)
<< "An adapter proc was added, but proc inlining has not been enabled. "
"You likely want to inline the new proc!";
return changed;
}

Expand Down

0 comments on commit c0487ef

Please sign in to comment.