Skip to content

Conversation

stephentyrone
Copy link
Contributor

We want these to always be inlined, so mark them with ... always_inline. The compiler happened to do the right thing with them previously, but we shouldn't depend on that.

Un-XFAILED the tests on Linux, as I think they should work correctly now. Also added an explicit test that remainder gets inlined as well as sqrt.

rdar://problem/30043258

We want these to always be inlined, so mark them with ... always_inline.
The compiler happened to do the right thing with them previously, but we
shouldn't depend on that.

Un-XFAILED the tests on Linux, as I think they should work correctly now.
Also added an explicit test that remainder gets inlined as well as sqrt.
@stephentyrone
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - c3261db
Test requested by - @stephentyrone

I'm not sure why we can't generate and intrinsic on Linux for exp, but I don't
have a Linux machine on which to investigate.
@stephentyrone
Copy link
Contributor Author

@swift-ci Please test.

@stephentyrone stephentyrone merged commit e6c84d7 into swiftlang:master Jan 20, 2017
@stephentyrone stephentyrone deleted the math-shims-always-inline branch January 20, 2017 23:09
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