This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Add a roundtrip test for indexed_generic op with tensors.
ClosedPublic

Authored by hanchung on Feb 7 2020, 4:38 PM.

Details

Summary

After D72555 has been landed, linalg.indexed_generic also accepts ranked
tensor as input and output. Add a test for it.

Diff Detail

Event Timeline

hanchung created this revision.Feb 7 2020, 4:38 PM
nicolasvasilache accepted this revision.Feb 7 2020, 5:27 PM

Thanks for adding this test Hanhan!
I am somewhat less confident that linalg.indexed_generic generally works (since there didn't exist tests before this one, my thinking is it is not yet functional), but this first test is a concrete step forward.

This revision is now accepted and ready to land.Feb 7 2020, 5:27 PM
This revision was automatically updated to reflect the committed changes.