This is an archive of the discontinued LLVM Phabricator instance.

[mlir][SCF] Fold tensor.cast feeding into scf.foreach_thread.parallel_insert_slice
ClosedPublic

Authored by nicolasvasilache on Jun 21 2022, 12:56 AM.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Jun 21 2022, 12:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2022, 12:56 AM
springerm accepted this revision.Jun 21 2022, 1:15 AM
springerm added inline comments.
mlir/lib/Dialect/SCF/IR/SCF.cpp
1303–1311

Do you also want to fold if this cast is adding additional static type information?

This revision is now accepted and ready to land.Jun 21 2022, 1:15 AM
mehdi_amini accepted this revision.Jun 21 2022, 1:16 AM
This revision was landed with ongoing or failed builds.Jun 21 2022, 1:19 AM
This revision was automatically updated to reflect the committed changes.