This is an archive of the discontinued LLVM Phabricator instance.

Check if an attribute is in the builtin dialect before going through all the possible combinations (NFC)
ClosedPublic

Authored by mehdi_amini on Nov 1 2021, 10:51 PM.

Details

Summary

This is just a "micro-optimization" noticed through code review.

Diff Detail

Event Timeline

mehdi_amini created this revision.Nov 1 2021, 10:51 PM
mehdi_amini requested review of this revision.Nov 1 2021, 10:51 PM
mehdi_amini retitled this revision from Check if an attribute is in the builtin dialect before going through all the possible combination (NFC) to Check if an attribute is in the builtin dialect before going through all the possible combinations (NFC).Nov 1 2021, 10:52 PM
rriddle accepted this revision.Nov 1 2021, 10:55 PM
This revision is now accepted and ready to land.Nov 1 2021, 10:55 PM
This revision was landed with ongoing or failed builds.Nov 1 2021, 10:57 PM
This revision was automatically updated to reflect the committed changes.