Skip to content

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
Collaborator

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