Skip to content

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

Merged
finagolfin merged 1 commit intoswiftlang:mainfrom
finagolfin:testsim
May 20, 2025
Merged

[test] Fix IRGen/framepointer.sil for the test-simulator CI#81643
finagolfin merged 1 commit intoswiftlang:mainfrom
finagolfin:testsim

Conversation

@finagolfin
Copy link
Copy Markdown
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
Copy Markdown
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
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