-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Conversation
[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
Build failed |
Build failed |
Linux Toolchain (Ubuntu 16.04) Install command |
1 similar comment
Build failed |
Build failed |
Linux Toolchain (Ubuntu 16.04) Install command |
macOS Toolchain Install command |
No description provided.