Unverified Commit c12e3b22 authored by Jack Koenig's avatar Jack Koenig Committed by GitHub
Browse files

Fix bug in ConstProp where module dependency edges were dropped (#696)

This resulted in parent modules sometimes being constant proppagated
before a child module. If the child module has a constant driving one of
its outputs, the parent module would thus not see the constant. This
resulted in strange unstable constant propagation behavior where
sometimes constant outputs would not propagate.

Also add test illustrating why this occurs with uses of InstanceGraph
parent 4801d9cb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment