-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Test] Use -disable-llvm-merge-function-pass to unblock MergeFunc fix. #79632
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
Please test with following PR: @swift-ci test |
250e45b
to
1407160
Compare
Please test with following PR: @swift-ci test |
This seems to fail the windows test, but from the log it is not clear to me if this is an issue related to swiftlang/llvm-project#10112? |
It possibly could be. The merge functions would potentially have removed previously invalid IRGen. Unfortunately, it is difficult to tell what is going on without having a dump of the module itself to see what COMDATs are being keyed improperly. |
@compnerd it looks like this is a Windows-only crash
Any chance you could help with extracting the IR for that file? |
I'm in middle of a refactoring of the build script, so I cannot get through a complete build atm. Once that is done, I can help. I can help you get setup with a local build though. |
My machines are also busy atm but I will try getting info when I can |
Please test with following PR: @swift-ci test |
I'm trying to see if I can get the IR by dumping it for the failing tests. |
Any luck? |
Looking at the IR:
$"$sShySiGIgo_AAIegr_TR0133$s11Observation0A9RegistrarV5State33_5AE0855755CD62D4521FC18D42BC1E4BLLV16registerTracking3for6didSetSiShys10AnyKeyPathCG_yAKYbctFShyQ7GyXEfu_Tf3npf_n" = comdat any
define linkonce_odr hidden swiftcc void @"$sShySiGIgo_AAIegr_TR0133$s11Observation0A9RegistrarV5State33_5AE0855755CD62D4521FC18D42BC1E4BLLV16registerTracking3for6didSetSiShys10AnyKeyPathCG_yAKYbctFShyQ7GyXEfu_Tf3npf_n"(ptr noalias nocapture sret(%TSh) %0) #0 comdat {
store ptr @_swiftEmptySetSingleton, ptr %0, align 8
ret void
} The function does not have a key for the COMDAT - |
I started a local build with this in case it will be still useful |
1407160
to
5a4209e
Compare
Please test with following PR: @swift-ci test |
@compnerd @hjyamauchi I managed to get a reproducer out of the build logs. IIUC the issue was the we dropped the I'll also prepare a patch for upstream. |
@compnerd @hjyamauchi The patch for upstream is here llvm/llvm-project#130583 |
5a4209e
to
a21b5f7
Compare
Please test with following PR: @swift-ci test |
a21b5f7
to
793dc14
Compare
Please test with following PR: @swift-ci test |
@swift-ci please smoke test |
793dc14
to
dff5da4
Compare
Please test with following PR: @swift-ci test |
Please test with following PR: @swift-ci please smoke test |
To unblock CI for swiftlang/llvm-project#10112.