This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Enable `apply_scale` unrolling
ClosedPublic

Authored by kuhar on Feb 13 2023, 12:58 PM.

Details

Summary

Make tosa.apply_scale implement VectorUnrollOpInterface so that we
can unroll it.

Diff Detail

Event Timeline

kuhar created this revision.Feb 13 2023, 12:58 PM
kuhar requested review of this revision.Feb 13 2023, 12:58 PM

I didn't find an easy way to test this. The closest existing thing I could find is -test-vector-unrolling-patterns but it seems to only work on a number of hardcoded ops.

rsuderman accepted this revision.Feb 13 2023, 1:14 PM
This revision is now accepted and ready to land.Feb 13 2023, 1:14 PM
This revision was automatically updated to reflect the committed changes.