Adapt hoistPaddingOnTensors to leave replacing and erasing the old pad tensor operation to the caller. This change makes the function pattern friendly.
Depends On D112003
Paths
| Differential D112255
[mlir][linalg] Adapat hoistPaddingOnTensors signature to support patterns (NFC). ClosedPublic Authored by gysit on Oct 21 2021, 11:41 AM.
Details Summary Adapt hoistPaddingOnTensors to leave replacing and erasing the old pad tensor operation to the caller. This change makes the function pattern friendly. Depends On D112003
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 20 others. · View Herald TranscriptOct 21 2021, 11:41 AM gysit added a child revision: D112412: [mlir][linalg] Add pad and hoist test pass..Oct 25 2021, 12:24 AM This revision is now accepted and ready to land.Oct 28 2021, 8:28 AM Closed by commit rGe83d8466fbd9: [mlir][linalg] Adapt hoistPaddingOnTensors signature to support patterns (NFC). (authored by gysit). · Explain WhyOct 28 2021, 11:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 381342 mlir/include/mlir/Dialect/Linalg/Transforms/HoistPadding.h
mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp
|