Skip to content
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

Manually hoist conversion of end-of-line character to UInt8 #16886

Merged
merged 1 commit into from
Jun 13, 2016

Conversation

StefanKarpinski
Copy link
Sponsor Member

No description provided.

In some confiurations LLVM doesn't seem to do this optimization

Fix #16822
@StefanKarpinski
Copy link
Sponsor Member Author

I went through the changes in #16024 and this seems to be the only one that could have caused a regression. There's also UInt8('\0') in @printf but since that's a constant, it seems far less likely for LLVM to fail to optimize it.

@nalimilan
Copy link
Member

+1 if that fixes the regression for now. But have you found out when the optimization happens and when it doesn't? That really sounds like an important point if we don't want the change to introduce similar regressions in user code.

@StefanKarpinski
Copy link
Sponsor Member Author

Failure was a server response error.

@StefanKarpinski StefanKarpinski merged commit 2119ea6 into master Jun 13, 2016
@StefanKarpinski StefanKarpinski deleted the sk/countlinesfaster branch June 13, 2016 18:26
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.

2 participants