This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Expand tosa.apply_scale lowering for vectors
ClosedPublic

Authored by rsuderman on Jan 11 2022, 7:20 PM.

Details

Summary

Apply scale may encounter scalar, tensor, or vector operations. Expand the
lowering so that it can lower arbitrary of container types.

Diff Detail

Event Timeline

rsuderman created this revision.Jan 11 2022, 7:20 PM
rsuderman requested review of this revision.Jan 11 2022, 7:20 PM
rsuderman updated this revision to Diff 399181.Jan 11 2022, 7:21 PM

Sync to head.

NatashaKnk accepted this revision.Jan 12 2022, 11:01 AM
NatashaKnk added inline comments.
mlir/lib/Conversion/TosaToStandard/TosaToStandardPass.cpp
46 ↗(On Diff #399181)

I'm guessing this needs to be removed?

This revision is now accepted and ready to land.Jan 12 2022, 11:01 AM

Fixed debug code that leaked through.

rsuderman marked an inline comment as done.Jan 12 2022, 11:28 AM
rsuderman added inline comments.
mlir/lib/Conversion/TosaToStandard/TosaToStandardPass.cpp
46 ↗(On Diff #399181)

Yup, cleaned up.

This revision was automatically updated to reflect the committed changes.
rsuderman marked an inline comment as done.