Page MenuHomePhabricator

[mlir] Add Tosa dialect const folder for tosa.const.

Authored by stellaraccident on Nov 24 2020, 9:01 AM.


  • Was missed in the initial submission and is required for a ConstantLike op.
  • Also adds a materializeConstant hook to preserve it.
  • Tightens up the argument constraint on tosa.const to match what is actually legal.

Diff Detail

Event Timeline

stellaraccident requested review of this revision.Nov 24 2020, 9:01 AM
jpienaar accepted this revision.Nov 24 2020, 9:03 AM
This revision is now accepted and ready to land.Nov 24 2020, 9:03 AM
sjarus accepted this revision.Nov 24 2020, 9:08 AM
This revision was landed with ongoing or failed builds.Nov 24 2020, 9:34 AM
This revision was automatically updated to reflect the committed changes.