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

if expressions #297

Closed
wants to merge 4 commits into from
Closed

if expressions #297

wants to merge 4 commits into from

Conversation

brson
Copy link
Contributor

@brson brson commented Mar 29, 2011

This series adds a bunch of tests for using 'if' as expressions, and the implementation to make most of them pass. There's still some work left to make if expressions correctly result in boxed and generic types.

@graydon
Copy link
Contributor

graydon commented Mar 29, 2011

Integrated.

@graydon graydon closed this Mar 29, 2011
oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
Add pthread mutex type constants

These are needed to create a pthread mutex that doesn't use lock elision on glibc.
kazcw pushed a commit to kazcw/rust that referenced this pull request Oct 23, 2018
In rust-lang#47743 the SIMD types in the Rust ABI are being switched to
getting passed through memory unconditionally rather than through LLVM's
immediate registers. This means that a bunch of our assert_instr invocations
started breaking as LLVM has more efficient methods of dealing with memory than
the instructions themselves.

This switches `assert_instr` to unconditionally use a shim that is an `extern`
function which should revert back to the previous behavior, using the simd types
as immediates and testing the same.
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
* add test

* implement call inst

* remove calls to lookup
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