Skip to content

[test] Fix IRGen/framepointer.sil for the test-simulator CI #81643

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

Merged
merged 1 commit into from
May 20, 2025

Conversation

finagolfin
Copy link
Member

which generates IR without a llvm.trap function

All the normal CI generated this:

ret i32 %1
}

; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write)
declare void @llvm.trap() #1

attributes #0 = { "frame-pointer"=

But the test-simulator CI doesn't for some reason, so just check for the closing brace instead.

@aschwaighofer, let me know what you think.

which generates IR without a llvm.trap function
@finagolfin
Copy link
Member Author

@swift-ci smoke test

@finagolfin finagolfin enabled auto-merge (squash) May 20, 2025 20:43
@finagolfin finagolfin merged commit 98c3993 into swiftlang:main May 20, 2025
3 checks passed
@finagolfin finagolfin deleted the testsim branch May 21, 2025 14:15
hamishknight added a commit to hamishknight/swift that referenced this pull request May 22, 2025
tbkka pushed a commit that referenced this pull request Jun 23, 2025
which generates IR without a llvm.trap function

All the normal CI generated this:
```
ret i32 %1
}

; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write)
declare void @llvm.trap() #1

attributes #0 = { "frame-pointer"=
```
But the test-simulator CI doesn't for some reason, so just check for the
closing brace instead.
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