-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Enable serialization in OSSA #78939
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
Enable serialization in OSSA #78939
Conversation
c6ad795
to
e8e8b48
Compare
@swift-ci test |
@swift-ci build toolchain |
@swift-ci apple silicon benchmark |
@swift-ci test source compatibility |
e8e8b48
to
6f7d356
Compare
@swift-ci test |
@swift-ci apple silicon benchmark |
@swift-ci build toolchain |
@swift-ci test source compatibility |
6f7d356
to
ae82430
Compare
@swift-ci test |
@swift-ci build toolchain |
ac32683
to
3263a29
Compare
@swift-ci test |
@swift-ci build toolchain |
@swift-ci test source compatibility |
@swift-ci apple silicon benchmark |
3263a29
to
2544bcf
Compare
@swift-ci test |
@swift-ci build toolchain |
@swift-ci apple silicon benchmark |
@swift-ci test source compatibility |
@swift-ci test macOS |
2544bcf
to
7bfecb1
Compare
@swift-ci test |
@swift-ci test source compatibility |
@swift-ci build toolchain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
@@ -166,6 +162,7 @@ | |||
// RUN: cd %t/MCP.O && ls *.swiftmodule > %t/MCP.O/firstFile | |||
// RUN: cd %t/MCP.O/old && ls *.swiftmodule > %t/MCP.O/secondFile | |||
// RUN: not diff -u %t/MCP.O/firstFile %t/MCP.O/secondFile | |||
// XFAIL: * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these tests be deleted?
d7eac10
to
8be15da
Compare
@swift-ci smoke test |
Smoke testing now since full tests had passed before a test update |
Disable package cmo test with deserialization warning until rdar://143923551 is fixed. Delete package cmo test with -experimental-skip-deserialization-checks-for-package-cmo SIL verification is stricter and in some cases enabled in release build of the compiler as well with -enable-ossa-modules. This test with -experimental-skip-deserialization-checks-for-package-cmo previously passed even though there were SIL instructions like strong_retain/strong_release on a trivial type. Disable this instance since SIL verification triggers copy_value etc on a trivial type.
If this function is inlined, the optimizer can shrink the lifetime of the `args` parameter. This would deallocate the passed arguments (e.g. `NSString`s) before the are used in the closure.
8be15da
to
20db2a4
Compare
@swift-ci smoke test |
@swift-ci test macOS platform |
This change moves OSSA to non-OSSA lowering all way after serialization, running the high level pass pipeline on OSSA and enabling serializing SIL in OSSA.