This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][SPIRV] Add `UsableInSpecConstantOp` trait.
ClosedPublic

Authored by ergawy on Jan 8 2021, 12:22 AM.

Details

Summary

Instead of checking explicitly checking for whether an op is usalbe
inside a SpecConstantOperationOP, this commit adds a new trait to
filter such ops.

Diff Detail

Event Timeline

ergawy created this revision.Jan 8 2021, 12:22 AM
ergawy requested review of this revision.Jan 8 2021, 12:22 AM
antiagainst accepted this revision.Jan 8 2021, 5:07 AM

Awesome!

This revision is now accepted and ready to land.Jan 8 2021, 5:07 AM
This revision was landed with ongoing or failed builds.Jan 8 2021, 6:08 AM
This revision was automatically updated to reflect the committed changes.