This is an archive of the discontinued LLVM Phabricator instance.

[mlir][std] Fold load(tensor_to_memref) into extract_element
ClosedPublic

Authored by herhut on Nov 20 2020, 2:33 AM.

Details

Summary

This canonicalization is useful to resolve loads into scalar values when
doing partial bufferization.

Diff Detail

Event Timeline

herhut created this revision.Nov 20 2020, 2:33 AM
herhut requested review of this revision.Nov 20 2020, 2:33 AM
rriddle added inline comments.Nov 20 2020, 2:38 AM
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
2305

nit: Drop the newline here.

frgossen accepted this revision.Nov 20 2020, 2:50 AM

Thanks!

This revision is now accepted and ready to land.Nov 20 2020, 2:50 AM
herhut updated this revision to Diff 306661.Nov 20 2020, 4:29 AM

Comments

herhut marked an inline comment as done.Nov 20 2020, 4:30 AM

Thanks for the reviews!

This revision was landed with ongoing or failed builds.Nov 20 2020, 4:42 AM
This revision was automatically updated to reflect the committed changes.