The ConstantLike trait already static_asserts that operations
implementing it have a single result and zero operands, so we
don't need to redundantly check in Matchers.h
The static assert is in class ConstantLike in OpDefinition.h
Paths
| Differential D141783
[MLIR] Simplify predicate in Matchers.h, NFC ClosedPublic Authored by lattner on Jan 14 2023, 10:06 PM.
Details Summary The ConstantLike trait already static_asserts that operations The static assert is in class ConstantLike in OpDefinition.h
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 15 2023, 8:51 AM This revision was landed with ongoing or failed builds.Jan 15 2023, 9:32 AM Closed by commit rG18b72494d345: [MLIR] Simplify predicate in Matchers.h, NFC (authored by lattner). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 489366 mlir/include/mlir/IR/Matchers.h
|