This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Make bit enum operators constexpr
ClosedPublic

Authored by krzysz00 on Sep 1 2022, 2:48 PM.

Details

Summary

This allows using the | operator on the values of enum attributes
in complie-time constants.

Diff Detail

Event Timeline

krzysz00 created this revision.Sep 1 2022, 2:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2022, 2:48 PM
krzysz00 requested review of this revision.Sep 1 2022, 2:48 PM
antiagainst accepted this revision.Sep 6 2022, 9:53 AM
This revision is now accepted and ready to land.Sep 6 2022, 9:53 AM
This revision was automatically updated to reflect the committed changes.