Skip to content

Conversation

@eeckstein
Copy link
Contributor

@eeckstein eeckstein commented Nov 27, 2024

Some terminator instructions can have type-dependent operands. Therefore we need to use getNumRealOperands instead of getNumOperands.

Fixes a compiler crash.

rdar://140842806

Some terminator instructions can have type-dependent operands.
Therefore we need to use `getNumRealOperands` instead of `getNumOperands`.

Fixes a compiler crash.
@eeckstein eeckstein requested a review from meg-gupta November 27, 2024 12:19
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein
Copy link
Contributor Author

@swift-ci smoke test Windows

@eeckstein eeckstein merged commit 4b5a50b into swiftlang:main Dec 2, 2024
3 checks passed
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.

1 participant