Skip to content

Tbi fixes 4.0 branch #9076

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 1, 2017

Conversation

gottesmm
Copy link
Contributor

This PR contains fixes for the TBI test. It eliminates the stdlib dependencies so we will no longer have any issues related to deployment targets with this test. Since there are no more dependencies on having a stdlib, I was able to conditionalize the execution of the test on having the LLVM AArch64 code generator enabled. This ensures that normal builds will run this test, preventing further breakage.

rdar://24370377

@gottesmm
Copy link
Contributor Author

@swift-ci test

@jrose-apple
Copy link
Contributor

Please just write this in SIL.

@jrose-apple
Copy link
Contributor

(Background: Michael and I have been discussing this bug in quick bits and pieces these last few days. This "solution" is definitely too clever.)

@gottesmm
Copy link
Contributor Author

@jrose-apple At this point, I already have this done in a .swift file and I need to unblock some other people. At a later time, I am more than happy to convert this to .sil.

@jrose-apple
Copy link
Contributor

This isn't even a good fix—the branch was only there because init(bitPattern:) produces an optional value.

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 71b464430b69f93f98c8dafa7879fde31e263120
Test requested by - @gottesmm

A few things here:

1. I changed the .swift file to be a .sil file. This one is for Jordan. It
should also make the test not run into any issues due to swift level codegen
changes. So we should have an even more robust test.

2. I fixed the watchossimulator test by eliminating any dependency of this test
on an SDK. This is a pure compiler/target test. Just like the stdlib is not
necessary, SDKs are not necessary either.
@gottesmm gottesmm force-pushed the tbi_fixes_4.0_branch branch from 71b4644 to e0a9c35 Compare May 1, 2017 04:59
@gottesmm
Copy link
Contributor Author

gottesmm commented May 1, 2017

@jrose-apple I did it in SIL and fixed a few other issues...

@gottesmm
Copy link
Contributor Author

gottesmm commented May 1, 2017

@swift-ci test

1 similar comment
@gottesmm
Copy link
Contributor Author

gottesmm commented May 1, 2017

@swift-ci test

@gottesmm
Copy link
Contributor Author

gottesmm commented May 1, 2017

@swift-ci test and merge

1 similar comment
@gottesmm
Copy link
Contributor Author

gottesmm commented May 1, 2017

@swift-ci test and merge

@swift-ci swift-ci merged commit bbe07fa into swiftlang:swift-4.0-branch May 1, 2017
@swift-ci
Copy link
Contributor

swift-ci commented May 1, 2017

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - e0a9c35
Test requested by - @gottesmm

@gottesmm gottesmm deleted the tbi_fixes_4.0_branch branch May 1, 2017 08:23
@jrose-apple
Copy link
Contributor

Thank you!

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