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

llvm35 fixes #26088

Merged
merged 3 commits into from
Jun 8, 2015
Merged

llvm35 fixes #26088

merged 3 commits into from
Jun 8, 2015

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Jun 8, 2015

rebase of #25739, closes #25739. r? @alexcrichton

tamird and others added 3 commits June 7, 2015 22:43
This commit introduce a third parameter for compatible_ifn!, as new
intrinsics are being added in recent LLVM releases and there is no
need to hardcode a specific case.

Signed-off-by: Luca Bruno <[email protected]>
Based on the patch from Luca Bruno.

Instead of creating an empty C function in the rt, this version creates an shim
noop function using llvm. This function is declared as internal, and the
unsupported assume intrinsic and the shim gets completly removed by the
optimizer.
@alexcrichton
Copy link
Member

@bors: r+ e36e97b

@bors
Copy link
Contributor

bors commented Jun 8, 2015

⌛ Testing commit e36e97b with merge 115121d...

bors added a commit that referenced this pull request Jun 8, 2015
@bors bors merged commit e36e97b into rust-lang:master Jun 8, 2015
@tamird tamird deleted the llvm35-fixes branch June 8, 2015 14:12
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.

5 participants