Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

WiringTransform: cannot run after RemoveWires #2240

Merged
merged 1 commit into from
May 21, 2021

Conversation

ekiwi
Copy link
Contributor

@ekiwi ekiwi commented May 21, 2021

The problem this is trying to address is that I sometimes get pass orderings where RemoveWires runs before the Wiring transform and that gets a wiring target turned from a Wire into a Node which Wiring then fails to deal with properly.

Contributor Checklist

  • Did you add at least one test demonstrating the PR?
  • Did you delete any extraneous printlns/debugging code?
  • Did you specify the type of improvement?
  • Did you state the API impact?
  • Did you specify the code generation impact?
  • Did you request a desired merge strategy?
  • Did you add text to be included in the Release Notes for this change?

Type of Improvement

  • bug fix

API Impact

  • none

Backend Code Generation Impact

  • none

Desired Merge Strategy

  • squash

Reviewer Checklist (only modified by reviewer)

  • Did you add the appropriate labels?
  • Did you mark the proper milestone (1.2.x, 1.3.0, 1.4.0) ?
  • Did you review?
  • Did you check whether all relevant Contributor checkboxes have been checked?
  • Did you mark as Please Merge?

@ekiwi
Copy link
Contributor Author

ekiwi commented May 21, 2021

This should fix #2208

ekiwi added a commit to ekiwi/simulator-independent-coverage that referenced this pull request May 21, 2021
Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for fixing this, @ekiwi.

@ekiwi
Copy link
Contributor Author

ekiwi commented May 21, 2021

Thanks! Let's not backport this, just in case it has unintended consequences or breaks someone's flow.

@ekiwi ekiwi added this to the 1.5.0 milestone May 21, 2021
@ekiwi ekiwi added the Please Merge Accepted PRs that are ready to be merged. Useful when waiting on CI. label May 21, 2021
@mergify mergify bot merged commit abb8b4c into chipsalliance:master May 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Please Merge Accepted PRs that are ready to be merged. Useful when waiting on CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants