irdl.c_pred is an attribute constraint defined by a C++ predicate.
Contrary to the other constraints, this operation cannot be used in
dialects that are registered at runtime. Its principal use is to
share dialect definitions that are defined in C++ or ODS.
Details
Details
- Reviewers
rriddle Mogball nicolasvasilache - Commits
- rGf0a8c5c5cbed: [mlir][irdl] Add `irdl.c_pred`
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'll fix the name of the other IRDL operations (as they are inconsistent) in another patch to make this cleaner!
align the names? IRDL_CPredOp?