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

Make DatafrogOpt produce errors #42

Merged
merged 1 commit into from
May 24, 2018
Merged

Conversation

lqd
Copy link
Member

@lqd lqd commented May 22, 2018

  • Produce "errors" tuples primarily
  • Produce "borrow_live_at" tuples only in verbose mode
  • Adds a test to check that issue 47680 does not produce the potential errors produced by the location-insensitive analysis.
  • Made the tests run in Verbose mode for the Opt algorithm so that the borrow_live_at tuples
    are available.

And a couple cleanups:

  • Separate static data inputs
  • Rename a relation named like an index

As this adds a join with a big relation in the clap benchmark, it is expected to have a slowdown, which we can most likely eliminate when adding leapjoins.

Manually tested that this produces the same borrow_live_at and verbose data as before. Unfortunately, there are no inputs that would fail the location-sensitive analysis in the repo such as this important test case. (And I don't have the custom rustc adding these invalidates tuples)

- Produce "errors" tuples primarily
- Produce "borrow_live_at" tuples only in verbose mode
- Adds a test to check that issue 47680 does not produce errors
- Made the tests run in Verbose mode so that the `borrow_live_at` tuples
are available.

And a couple cleanups:
- Separate static data inputs
- Rename a relation named like an index
@nikomatsakis nikomatsakis merged commit 55a73d9 into rust-lang:master May 24, 2018
@lqd lqd deleted the opt_errors branch May 24, 2018 09:46
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