Skip to content

Update master to support apple/stable/20190619 branch for LLVM projects #27396

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 3,971 commits into from
Oct 1, 2019

Conversation

shahmishal
Copy link
Member

No description provided.

swift-ci and others added 30 commits August 31, 2019 17:43
[Cherry-picking test changes from this commit.]

This change uses the 'gather bits' functionality of enum payloads
to create a contiguous value to switch over. This allows us to
remove the code that currently attempts to build a switch statement
by comparing each element in the payload in turn.

The downside of this technique is that we may do more work up front
gathering bits and we may also need to compare larger values in some
situations. The upside is that we can remove a lot of complicated
code from IRGen. Also, we pass the responsibility for multi-way
branch generation to LLVM which can make use of a wider range of
switch lowering strategies than IRGen can sensibly support.

# Conflicts:
#	lib/IRGen/EnumPayload.cpp
#	test/IRGen/enum.sil
@shahmishal
Copy link
Member Author

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 0c1b5cb

@shahmishal
Copy link
Member Author

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 0c1b5cb

@shahmishal
Copy link
Member Author

@swift-ci
Copy link
Contributor

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - dd59ce5

Install command
tar zxf swift-PR-27396-291-ubuntu16.04.tar.gz
More info

1 similar comment
@swift-ci
Copy link
Contributor

swift-ci commented Oct 1, 2019

Build failed
Swift Test Linux Platform
Git Sha - dd59ce5

@swift-ci
Copy link
Contributor

swift-ci commented Oct 1, 2019

Build failed
Swift Test OS X Platform
Git Sha - dd59ce5

@swift-ci
Copy link
Contributor

swift-ci commented Oct 1, 2019

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - dd59ce5

Install command
tar zxf swift-PR-27396-292-ubuntu16.04.tar.gz
More info

@swift-ci
Copy link
Contributor

swift-ci commented Oct 1, 2019

macOS Toolchain
Download Toolchain
Git Sha - dd59ce5

Install command
tar -zxf swift-PR-27396-391-osx.tar.gz --directory ~/

@JDevlieghere
Copy link
Contributor

@shahmishal shahmishal merged commit 2f86d67 into swiftlang:master Oct 1, 2019
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.