Skip to content

Revert "IRGen: fix alignment for tail allocated arrays with elements which have a large alignment" #14656

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

Closed
wants to merge 1 commit into from

Conversation

rudkx
Copy link
Contributor

@rudkx rudkx commented Feb 15, 2018

Reverts #14652

Based on https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/2703/, it seems like this might broken the stdlib/String.swift test on Linux.

What's curious is it passed PR testing, but two of my subsequent PR test attempts have failed in the same way. Perhaps this was a case of two commits landing at the same time, each passing individually but failing when combined?

@rudkx
Copy link
Contributor Author

rudkx commented Feb 15, 2018

@swift-ci Please smoke test

@rudkx
Copy link
Contributor Author

rudkx commented Feb 15, 2018

@eeckstein I'm doing a test run with this reverted to see if it fixes the CI failure (and PR testing failures).

@eeckstein
Copy link
Contributor

I'll try to reproduce it locally

@eeckstein
Copy link
Contributor

I couldn't reproduce it locally. Also it's very unlikely that my change would trigger this test failure

@eeckstein
Copy link
Contributor

The test passed again in https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/2705/
(but there is another failure afterwards)

@atrick
Copy link
Contributor

atrick commented Feb 15, 2018

Two failures have been blocking PR testing since this commit:

OS X Simulator:
[ FAIL ] NSStringAPIs/Substring.replacingCharacters(in:with:)

Linux:
[ FAIL ] StringTests.growth

The first CI failures was here:
https://ci.swift.org/job/oss-swift_tools-RA_stdlib-RD_test-simulator/671/

@atrick
Copy link
Contributor

atrick commented Feb 15, 2018

The String failure on linux seems to be sporadically failing on CI, even though my PR testing is consistently failing.

@rudkx
Copy link
Contributor Author

rudkx commented Feb 15, 2018

Perhaps it this is related to test changes that @lancep made in 48018fb (around 5 builds before the first failure) which might have exposed a latent problem, or recent work by @milseman on Strings?

@atrick
Copy link
Contributor

atrick commented Feb 15, 2018

I think @lancep plans to revert and investigate the failures.

@rudkx
Copy link
Contributor Author

rudkx commented Feb 15, 2018

Closing with the expectation that #14657 will resolve the failure.

@rudkx rudkx closed this Feb 15, 2018
@jrose-apple jrose-apple deleted the revert-14652-fix-alignment branch February 15, 2018 21:18
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.

3 participants