Skip to content

Conversation

@gottesmm
Copy link
Contributor

A branch propagated user that isn't a cond_br is layout compatible with a
SILInstruction *. This helper function converts from ArrayRef<SILInstruction *>
-> ArrayRef but also in asserts builds checks that our
invariant (namely all of the 'SILInstruction *' are not cond_br.

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

…*> -> ArrayRef<BranchPropagatedUser> onto BranchPropagatedUser.

A branch propagated user that isn't a cond_br is layout compatible with a
SILInstruction *. This helper function converts from ArrayRef<SILInstruction *>
-> ArrayRef<BranchPropagatedUser> but also in asserts builds checks that our
invariant (namely all of the 'SILInstruction *' are not cond_br.
@gottesmm gottesmm force-pushed the pr-a38b5f72b7fe7f2e4482b0456b6e1cb080ec9540 branch from 727e75f to 70a417c Compare February 2, 2020 19:54
@gottesmm
Copy link
Contributor Author

gottesmm commented Feb 2, 2020

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 13072cf into swiftlang:master Feb 2, 2020
@gottesmm gottesmm deleted the pr-a38b5f72b7fe7f2e4482b0456b6e1cb080ec9540 branch February 2, 2020 21:33
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