Skip to content
Commit 3b6fee3d authored by Alastair Donaldson's avatar Alastair Donaldson Committed by Steven Perron
Browse files

Fixes #2338. Added functionality to remove OpPhi instructions (replacing...

Fixes #2338.  Added functionality to remove OpPhi instructions (replacing their uses) when merging blocks (#2339)

* Fixes #2338.  Added check for phi node before merging blocks.

* Added functionality to merge blocks A and B even when B starts with OpPhi instructions, by replacing uses of the OpPhi results with the definitions coming from A.  Added some tests for this.

* Fixed assertion.
parent 2acbf488
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