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

Handle integer-extending for C ABI #32732

Merged
merged 1 commit into from
Apr 8, 2016
Merged

Handle integer-extending for C ABI #32732

merged 1 commit into from
Apr 8, 2016

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Apr 4, 2016

We need to supply sext/zext attributes to LLVM to ensure that arguments
are extended to the appropriate width in the correct way.

Most platforms extend integers less than 32 bits, though not all.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@dotdash
Copy link
Contributor Author

dotdash commented Apr 4, 2016

D'oh, forgot to update the test to a run-pass test.

We need to supply sext/zext attributes to LLVM to ensure that arguments
are extended to the appropriate width in the correct way.

Most platforms extend integers less than 32 bits, though not all.
@dotdash
Copy link
Contributor Author

dotdash commented Apr 4, 2016

OK, ready to r?

@eddyb
Copy link
Member

eddyb commented Apr 5, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Apr 5, 2016

📌 Commit 4815f7e has been approved by eddyb

Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 6, 2016
Handle integer-extending for C ABI

We need to supply sext/zext attributes to LLVM to ensure that arguments
are extended to the appropriate width in the correct way.

Most platforms extend integers less than 32 bits, though not all.
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 7, 2016
Handle integer-extending for C ABI

We need to supply sext/zext attributes to LLVM to ensure that arguments
are extended to the appropriate width in the correct way.

Most platforms extend integers less than 32 bits, though not all.
bors added a commit that referenced this pull request Apr 7, 2016
Rollup of 7 pull requests

- Successful merges: #32687, #32729, #32731, #32732, #32734, #32737, #32741
- Failed merges:
@bors bors merged commit 4815f7e into rust-lang:master Apr 8, 2016
@dotdash dotdash deleted the ext_arg branch May 17, 2016 03:43
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.

6 participants