forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Add minimal support for cilk_for keyword #18
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
Open
aleph-oh
wants to merge
27
commits into
cilk
Choose a base branch
from
jhilton/add-cilk-for
base: cilk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ceab813
Add hir::LoopSource::CilkFor
aleph-oh 9d42aa1
Represent cilk_for in THIR and MIR
aleph-oh 783efcc
Add rustc_codegen_ssa::Builder::tapir_loop_spawn_strategy_metadata
aleph-oh e6e04da
Annotate loop branch with metadata for parallel loops
aleph-oh b2136ac
Add cilk_for in parsing
aleph-oh 3ba0d5b
Add FIXME for way to avoid spawning a break
aleph-oh c37baf2
Lower parsed cilk_for to HIR by spawning body
aleph-oh e2d15d9
Add feature gate for cilk_for
aleph-oh 1617586
Add tests for feature gate and simple loop semantics
aleph-oh d7cc66c
Add test for MIR generated from simple cilk_for
aleph-oh 29dc731
Add initial test for tapir metadata
aleph-oh 2942f21
Add parallel loop header info into MIR dump
aleph-oh 63020f9
Propagate parallel loop header info through CFG simplification
aleph-oh 3ecba5a
Fix existing fib test to look for right intrinsic
aleph-oh d17bc4d
Fix test case expectation for metadata name
aleph-oh d856570
Attach metadata to parallel loop back-edge, not header
aleph-oh e3e9605
Add test for cilk_for with else having an error
aleph-oh cdcd808
Add tests for disallowed control flow in cilk_for and cilk_spawn
aleph-oh 2240cb5
Add codegen test for loop spawning basic block names
aleph-oh c4b9f02
Fix cilk_for loop metadata structure
aleph-oh 6e902a0
Rename simple_cilk_for to cilk_for_metadata
aleph-oh 727a670
Minor change to loop spawning test expectation
aleph-oh bb24dfa
Add smart pointer for temporary metadata nodes
aleph-oh c17c055
Remove DerefMut impl for TemporaryMetadataNode
aleph-oh a7ff573
Fix code review nits
aleph-oh 500cb9b
Improve documentation for why we annotate back-edge
aleph-oh 69791d4
Refactor for-loop parsing to deduplicate for and cilk_for
aleph-oh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.