This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Split canonicalization and folders out of TosaOps.
ClosedPublic

Authored by jpienaar on Jul 21 2022, 12:25 PM.

Details

Summary

Scope ops file to ops. Used canonicalization as grouping for canonicalization
patterns and folders (also considered OpTransforms but that felt too generic
and the former two are used together).

Diff Detail

Event Timeline

jpienaar created this revision.Jul 21 2022, 12:25 PM
Herald added a project: Restricted Project. · View Herald Transcript
jpienaar requested review of this revision.Jul 21 2022, 12:25 PM
rsuderman accepted this revision.Jul 21 2022, 3:33 PM
This revision is now accepted and ready to land.Jul 21 2022, 3:33 PM
silvas accepted this revision.Jul 21 2022, 4:25 PM

FYI IREE calls these files "FooOpFolders.cpp", but Canonicalizations sounds better since canonicalizers are not folders but folders are (in a sense) canonicalizers.

Example:
https://github.com/iree-org/iree/blob/main/compiler/src/iree/compiler/Dialect/HAL/IR/HALOpFolders.cpp

This revision was landed with ongoing or failed builds.Jul 22 2022, 7:20 AM
This revision was automatically updated to reflect the committed changes.