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

Dismantle Mux expression / Ternary operator in dpdk #3087

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

kamleshbhalui
Copy link
Contributor

LowerExpressions pass which introduces ternary operator (?:) which is not supported in DPDK.
This PR dismantle ternary operator to if else chain.

backends/dpdk/backend.cpp Outdated Show resolved Hide resolved
backends/dpdk/dpdkArch.cpp Outdated Show resolved Hide resolved
backends/dpdk/dpdkArch.cpp Outdated Show resolved Hide resolved
backends/dpdk/dpdkArch.cpp Outdated Show resolved Hide resolved
@kamleshbhalui
Copy link
Contributor Author

@mbudiu-vmw Please merge it.

@mihaibudiu mihaibudiu merged commit 289431c into p4lang:main Feb 19, 2022
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