-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SIL: reduced test case for SIL verifier failure #30562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci please test |
CC: @gottesmm |
This is a reduced test case from the Foundation test suite which triggers a SIL verifier error on Windows at least: ``` SIL verification failed: instruction isn't dominated by its operand: properlyDominates(valueI, I) Verifying instruction: %54 = struct_element_addr %53 : $*S, #S.args // users: %130, %116, %55 -> destroy_addr %54 : $*Array<Substring> // id: %130 ```
cbd7063
to
55b9e43
Compare
@swift-ci please test |
Build failed |
Build failed |
When you run this with -sil-verify-all, what pass crashes? |
DestroyHoisting |
Thats @eeckstein |
The pass is the useful information. Next time -sil-verify-all failure happens, include that info please. |
@compnerd Thanks, I could reproduce this on Mac as well. Is there already a Jira ticket for this? |
Fixed in #30610 |
Thanks @eeckstein! No, I hadn't created the JIRA ticket yet, wasn't sure if it was a known issue or not. |
Never mind, I merged the fix already |
Thanks @eeckstein! |
This is a reduced test case from the Foundation test suite which
triggers a SIL verifier error on Windows at least:
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.