Skip to content

Conversation

rudkx
Copy link
Contributor

@rudkx rudkx commented Apr 24, 2016

What's in this pull request?

Relax verification of dealloc_stack, allowing it to have an undef operand.

Resolved bug number: (SR-967)

Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
OS X platform @swift-ci Please test OS X platform
Linux platform @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

Allow it to have undef as an operand.

This can happen when NoReturnFolding does RAUW for the instructions that
come after a @NoReturn function, replacing the uses of those
instructions in blocks that are unreachable. These instructions end up
getting deleted during diagnose unreachable when we remove the
unreachable code.

Fixes SR-967 / rdar://problem/25882880.

Allow it to have undef as an operand.

This can happen when NoReturnFolding does RAUW for the instructions that
come after a @NoReturn function, replacing the uses of those
instructions in blocks that are unreachable. These instructions end up
getting deleted during diagnose unreachable when we remove the
unreachable code.

Fixes SR-967 / rdar://problem/25882880.
@rudkx rudkx self-assigned this Apr 24, 2016
@rudkx
Copy link
Contributor Author

rudkx commented Apr 24, 2016

@swift-ci Please test and merge.

@swift-ci swift-ci merged commit 95e3be6 into swiftlang:master Apr 24, 2016
@rudkx rudkx deleted the verify-dealloc_stack branch April 25, 2016 22:18
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.

2 participants