This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tensor] Remove incorrect parallel_insert_slice folder
ClosedPublic

Authored by ThomasRaoux on Aug 25 2022, 8:50 AM.

Details

Summary

parallel_insert_slice doesn't return a value therefore we shouldn't try
to fold the result. The insert folding don't apply to this op.
The current folding would cause pattern rewrite to not be able to
converge.
Also remove extra dead code.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Aug 25 2022, 8:50 AM
ThomasRaoux requested review of this revision.Aug 25 2022, 8:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 8:50 AM

Limit folding instead of removing it

ThomasRaoux retitled this revision from [mlir][tensor] Remove incorrect folder for parallel_insert_slice to [mlir][tensor] Limit folding of parallel_insert_slice to inplace update.Aug 25 2022, 12:38 PM
ThomasRaoux edited the summary of this revision. (Show Details)
ThomasRaoux retitled this revision from [mlir][tensor] Limit folding of parallel_insert_slice to inplace update to [mlir][tensor] Remove incorrect parallel_insert_slice folder.
ThomasRaoux edited the summary of this revision. (Show Details)
antiagainst accepted this revision.Aug 26 2022, 8:22 AM
This revision is now accepted and ready to land.Aug 26 2022, 8:22 AM