Skip to content

Properly clean up resources involved in unused convergent values. - #1616

Merged
Adam Yang (adam-yang) merged 3 commits into
microsoft:masterfrom
adam-yang:convergence_dce
Oct 23, 2018
Merged

Properly clean up resources involved in unused convergent values.#1616
Adam Yang (adam-yang) merged 3 commits into
microsoft:masterfrom
adam-yang:convergence_dce

Conversation

@adam-yang

@adam-yang Adam Yang (adam-yang) commented Oct 20, 2018

Copy link
Copy Markdown
Contributor

Convergence annotations prevent unused instructions from being removed. Currently, resources used by of those instructions get added to the final DXIL since the instructions don't get removed until after the resources are finalized.

This change adds a DCE after removing convergence annotations and before generating final resources so no unused resources make it to the final DXIL.

@AppVeyorBot

Copy link
Copy Markdown

@AppVeyorBot

Copy link
Copy Markdown

@adam-yang
Adam Yang (adam-yang) merged commit b744770 into microsoft:master Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants