p4lang-p4c-nightly:cdodd-testing

Last commit made on 2019-12-12
Get this branch:
git clone -b cdodd-testing https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
cdodd-testing
Repository:
lp:p4lang-p4c-nightly

Recent commits

9a5f4b0... by Chris Dodd <email address hidden>

avoid extra copies for return values that are just copied again.

6ef1412... by Chris Dodd <email address hidden>

remove unnecessary clones

e1ee50b... by Chris Dodd <email address hidden>

Merge DismantleExpression into DoSimplifyExpressions

- all one Transform pass so we can use the context.

61625ed... by Chris Dodd <email address hidden>

Removeing use of result->final -- Transform should transform

d29ab5c... by Chris Dodd <email address hidden>

Fixes from sideEffect cleanup

- changes in expected outputs
- bmv2 support "if (!table.apply().hit)"
- setHeaders create a BlockStatement when needed

035716c... by Chris Dodd <email address hidden>

Fix sideEffect to not pull table hit/miss out of if

- will just be converted into a (redundant) table and temp by
  actionSynthesis, so is a complete waste
- WIP -- needs refactoring of DismantleExpression/DoSimplifyExpressions
  into a single pass to get the context properly.
- don't introduce unnecessary block statements.
- don't try to create Type_Dontcare temps

7d5e4be... by Chris Dodd <email address hidden>

Allow extern methods to be marked @noSideEffects (#2112)

- allows transformations/optimizations to have more knowledge of
  architecture-specific externs so as to better optimize things.

d381f26... by Jed Liu <email address hidden>

Ignore warnings if we've already emitted errors (#2111)

* Ignore warnings if we've already emitted errors

This avoids burying errors in a pile of warnings by ignoring all
warnings after the first error.

* Update expected output.

c50a6be... by Mihai Budiu <email address hidden>

Return a BlockStatement instead of a Vector; fixes #2102 (#2103)

9a47d2a... by Mihai Budiu <email address hidden>

Handle MUX in FindUses; fixes #2105 (#2109)

* Handle MUX in FindUses; fixes #2105