Skip to content
Unverified Commit c8c724cb authored by Steven Perron's avatar Steven Perron Committed by GitHub
Browse files

Don't change decorations and names in merge return. (#1777)

When creating a new phi for a value in the function, merge return will
rewrite all uses of an id that are no longer dominated by its
definition.  Uses that are not in a basic block, like OpName or
decorations, are not dominated, but they should not be replaced.

Fixes #1736.
parent ab061afc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment