Skip to content

[AST] Perf: targeted use of __builtin_assume() in dyn_cast wrappers #13670

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

Conversation

davezarzycki
Copy link
Contributor

@davezarzycki
Copy link
Contributor Author

@swift-ci please test and merge

1 similar comment
@davezarzycki
Copy link
Contributor Author

@swift-ci please test and merge

@gottesmm
Copy link
Contributor

gottesmm commented Jan 2, 2018

@davezarzycki Can you post in the llvmbugs that this worked as a workaround?

@davezarzycki
Copy link
Contributor Author

@gottesmm – In fact, I learned about the workaround from LLVM problem 28430. In that report, they tried the workaround, it failed during testing due to what was then believed to be temporary bugs in clang. After that, work on 28430 stalls.

@swift-ci swift-ci merged commit 598c385 into swiftlang:master Jan 2, 2018
@davezarzycki davezarzycki deleted the nfc_builtin_assume_dyn_cast branch January 2, 2018 17:24
@gottesmm
Copy link
Contributor

gottesmm commented Jan 2, 2018

@davezarzycki Ah ok. SGTM. Thanks!

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