[all-commits] [llvm/llvm-project] 780a20: [PDLL]: Fix crash when negation doesn't apply to n...
Matthias Gehre via All-commits
all-commits at lists.llvm.org
Thu Mar 7 23:28:07 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 780a20984b6af067eed5870eb7c00ea076b6072a
https://github.com/llvm/llvm-project/commit/780a20984b6af067eed5870eb7c00ea076b6072a
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M mlir/lib/Tools/PDLL/Parser/Parser.cpp
M mlir/test/mlir-pdll/Parser/expr-failure.pdll
Log Message:
-----------
[PDLL]: Fix crash when negation doesn't apply to native constraint (#84331)
Fixes that
```
Pattern {
let tuple = (attr<"3 : i34">);
not tuple.0;
erase _;
}
```
would crash the PDLL parser because it expected a native constraint
after `not`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list