This is an archive of the discontinued LLVM Phabricator instance.

[mlir][EDSC] NFC - Move StructuredIndexed and IteratorType out of Linalg
ClosedPublic

Authored by nicolasvasilache on Feb 8 2020, 8:17 AM.

Details

Summary

This NFC revision will allow those classes to be reused to allow
building structured vector operations.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2020, 8:17 AM
mehdi_amini accepted this revision.Feb 8 2020, 9:30 AM
This revision is now accepted and ready to land.Feb 8 2020, 9:30 AM
mehdi_amini requested changes to this revision.Feb 8 2020, 9:31 AM

Build failure:

/mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang8/mlir/lib/Dialect/Linalg/EDSC/Builders.cpp:244:21: error: no member named 'IterType' in namespace 'mlir::edsc'
  SmallVector<edsc::IterType, 4> iterTypes(O.getExprs().size(),
              ~~~~~~^
/mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang8/mlir/lib/Dialect/Linalg/EDSC/Builders.cpp:252:32: error: use of undeclared identifier 'iterTypes'
    return makeGenericLinalgOp(iterTypes, {I}, {O}, fun);
                               ^
/mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang8/mlir/lib/Dialect/Linalg/EDSC/Builders.cpp:259:30: error: use of undeclared identifier 'iterTypes'
  return makeGenericLinalgOp(iterTypes, {I}, {O}, fun);
This revision now requires changes to proceed.Feb 8 2020, 9:31 AM

Fix bad rebase.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 8 2020, 10:46 AM
This revision was automatically updated to reflect the committed changes.

Ugh .. misread the green checkmark from Harbormaster as the second approval from @mehdi_amini post trivial rebase.
As a consequence this landed in "Needs Review", sorry about that ...