HomePhabricator

[mlir][linalg] Limit hoist padding to constant paddings.

Authored by gysit on Thu, Nov 25, 2:31 AM.

Description

[mlir][linalg] Limit hoist padding to constant paddings.

Limit hoist padding to pad tensor ops that depend only on a constant value. Supporting arbitrary padding values that depend on computations part of the backward slice to hoist require complex analysis to ensure the computation can be hoisted.

Depends On D114420

Reviewed By: nicolasvasilache

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

Details