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

PDLL: Fix crash when logical not doesn't apply to call; prepare precedence #97

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

mgehre-amd
Copy link
Collaborator

This creates precedence between expressions, preparing for all the expressions that will come later.

While doing this, I noticed that ! has a bug when it's not followed by a function call. I added two tests and a check for that.

@mgehre-amd mgehre-amd requested a review from ttjost January 26, 2024 22:13
@mgehre-amd mgehre-amd changed the title PDLL: Fix crash when negation doesn't apply to call; prepare precedence PDLL: Fix crash when logical not doesn't apply to call; prepare precedence Jan 26, 2024
@mgehre-amd mgehre-amd force-pushed the matthias.pdl_builtin branch from a30a601 to a309fe1 Compare January 27, 2024 00:27
@mgehre-amd mgehre-amd force-pushed the matthias.pdll_neg_precedence branch from 717c6bb to 9d3b31f Compare January 27, 2024 00:28
Base automatically changed from matthias.pdl_builtin to feature/fused-ops February 21, 2024 14:05
@mgehre-amd mgehre-amd force-pushed the matthias.pdll_neg_precedence branch from 9d3b31f to cc9994e Compare March 7, 2024 13:13
mlir/lib/Tools/PDLL/Parser/Parser.cpp Outdated Show resolved Hide resolved
@mgehre-amd mgehre-amd force-pushed the matthias.pdll_neg_precedence branch from cc9994e to 0be8938 Compare March 7, 2024 13:58
@mgehre-amd mgehre-amd merged commit 7ed5dd2 into feature/fused-ops Mar 8, 2024
4 checks passed
@mgehre-amd mgehre-amd deleted the matthias.pdll_neg_precedence branch March 8, 2024 15:36
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