HomePhabricator

[mlir] Add redundant copy removal transform

Authored by dfki-ehna on Jun 25 2020, 8:02 AM.

Description

[mlir] Add redundant copy removal transform

This pass removes redundant dialect-independent Copy operations in different
situations like the following:

%from = ...
%to = ...
... (no user/alias for %to)
copy(%from, %to)
... (no user/alias for %from)
dealloc %from
use(%to)

Differential Revision: https://reviews.llvm.org/D82757

Details

Committed
dfki-ehnaJul 3 2020, 6:36 AM
Differential Revision
D82757: [mlir] Add redundant copy removal transform
Parents
rG18850981c827: [NFC][SimplifyCFG] Move X86 tests into subdir
Branches
Unknown
Tags
Unknown