Skip to content

Don't merge unreachable blocks#2375

Merged
alan-baker merged 1 commit intoKhronosGroup:masterfrom
alan-baker:merge-blocks-2374
Feb 12, 2019
Merged

Don't merge unreachable blocks#2375
alan-baker merged 1 commit intoKhronosGroup:masterfrom
alan-baker:merge-blocks-2374

Conversation

@alan-baker
Copy link
Copy Markdown
Contributor

Fixes #2374

  • Block merging no longer merges unreachable blocks into their
    successors
  • added a test

Doesn't use Dominates because the blocks are unreachable.

Fixes KhronosGroup#2374

* Block merging no longer merges unreachable blocks into their
successors
 * added a test
@alan-baker alan-baker self-assigned this Feb 12, 2019
Copy link
Copy Markdown
Contributor

@paulthomson paulthomson left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for integrating the test and the quick fix!

@alan-baker alan-baker merged commit 354205b into KhronosGroup:master Feb 12, 2019
@alan-baker alan-baker deleted the merge-blocks-2374 branch February 12, 2019 14:24
afd pushed a commit to afd/SPIRV-Tools that referenced this pull request Feb 13, 2019
Fixes KhronosGroup#2374

* Block merging no longer merges unreachable blocks into their
successors
 * added a test
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