This is an archive of the discontinued LLVM Phabricator instance.

Move BaseOpWithOffsetSizesAndStrides to OpBase.td
ClosedPublic

Authored by akuegel on Mar 17 2021, 5:43 AM.

Details

Summary

It is used both by the Standard dialect and the MemRef dialect.

Diff Detail

Event Timeline

akuegel created this revision.Mar 17 2021, 5:43 AM
akuegel requested review of this revision.Mar 17 2021, 5:43 AM
ftynse accepted this revision.Mar 17 2021, 5:48 AM

Thanks!

This revision is now accepted and ready to land.Mar 17 2021, 5:48 AM
This revision was landed with ongoing or failed builds.Mar 17 2021, 5:54 AM
This revision was automatically updated to reflect the committed changes.
rriddle added inline comments.Jan 10 2022, 9:17 AM
mlir/include/mlir/IR/OpBase.td
2144

I missed this originally, but this does not look like a general enough concept to be in OpBase. We should really move this out. I'd rather we just duplicate in the necessary places.

akuegel added inline comments.Jan 11 2022, 12:30 AM
mlir/include/mlir/IR/OpBase.td
2144

If we want to duplicate it in the necessary places, we probably need to name it differently. We had the case where this was conflicting, and this is why I moved it to the common place to get rid of the conflict. I don't remember where I had this conflict, possibly somewhere in Tensorflow.