This is an archive of the discontinued LLVM Phabricator instance.

Reupoading: Apply shortened printing/parsing form to linalg.reduce.
ClosedPublic

Authored by khasanovaa on Jan 9 2023, 12:23 AM.

Diff Detail

Event Timeline

khasanovaa created this revision.Jan 9 2023, 12:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 9 2023, 12:23 AM
khasanovaa requested review of this revision.Jan 9 2023, 12:23 AM

merge-base another try

khasanovaa edited the summary of this revision. (Show Details)Jan 9 2023, 12:34 AM
olegshyshkov added inline comments.Jan 9 2023, 1:34 AM
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
1132

To avoid the index-based loop, you can use a range-based loop over something like llvm::zip(payload.getOperands(), body->getArguments().drop_front()). Or use llvm::all_of_zip.

khasanovaa updated this revision to Diff 487331.Jan 9 2023, 1:34 AM

clang-format

khasanovaa updated this revision to Diff 487342.Jan 9 2023, 1:59 AM
  • resolve comemnts
olegshyshkov accepted this revision.Jan 9 2023, 2:01 AM

Thank you!

This revision is now accepted and ready to land.Jan 9 2023, 2:01 AM