p4c
p4c copied to clipboard
Enable loopsunrolling by default [recreated]
Recreation of #2921 with a different source branch.
This is a quick edit to check what happens if you enable parser unrolling for the entire p4test back end. Let's see what breaks.
Please do not merge, instead rebase the branch. I will refresh the ref files.
I think that we have two bugs left in parserUnroll for this test suite:
- p4/testdata/p4_16_samples/invalid-hdr-warnings6.p4 (Failed)
- p4/testdata/p4_16_samples/issue561.p4 (Failed) They fixed in #3342 and #3193 PR's. We can continue after they will be merged.
@VolodymyrPeschanenkoIntel There is two types of errors left. One of them is new it seems.
@VolodymyrPeschanenkoIntel Can you take a look at the last two failing tests?
@fruffy Is this PR still useful? Or perhaps other PRs have done everything you planned to do with this one already?
@fruffy Is this PR still useful? Or perhaps other PRs have done everything you planned to do with this one already?
It is effectively a debugging PR for the loopsunrolling pass. It has not been merged yet because it was not 100% clear whether the pass is bug free. Let me rebase it.