This is an archive of the discontinued LLVM Phabricator instance.

Add an operator == and != to properties, use it in DuplicateFunctionElimination
ClosedPublic

Authored by mehdi_amini on May 15 2023, 11:09 AM.

Diff Detail

Event Timeline

mehdi_amini created this revision.May 15 2023, 11:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2023, 11:09 AM
mehdi_amini requested review of this revision.May 15 2023, 11:09 AM
rriddle added inline comments.May 15 2023, 11:14 AM
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
3519–3521

We generally have the user define the == instead of the !=, it'd be nice to keep that consistent.

Use == comparator

rriddle accepted this revision.May 15 2023, 11:36 AM
This revision is now accepted and ready to land.May 15 2023, 11:36 AM
This revision was landed with ongoing or failed builds.May 15 2023, 12:10 PM
This revision was automatically updated to reflect the committed changes.